From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 10 May 2015 18:23:18 -0700 To: 9fans@9fans.net Message-ID: <05b5b73cd8087388181bc2442e3ab02c@brasstown.quanstro.net> In-Reply-To: <1633104b58522769b9fa2792ef99aa13@felloff.net> References: <1633104b58522769b9fa2792ef99aa13@felloff.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] fossil+venti performance question Topicbox-Message-UUID: 510d4494-ead9-11e9-9d60-3106f5b1d025 On Sun May 10 14:36:15 PDT 2015, cinap_lenrek@felloff.net wrote: > how is this the opposite? your patch shows the tcb->mss init being removed > completely from tcpincoming(). > > - /* our sending max segment size cannot be bigger than what he asked for */ > - if(lp->mss != 0 && lp->mss < tcb->mss) { > - tcb->mss = lp->mss; > - tpriv->stats[Mss] = tcb->mss; > - } > + /* per rfc, we can't set the mss any more */ > + // tcb->mss = tcpmtu(s->p, lp->laddr, lp->version, lp->mss, &tcb->scale); i haven't updated the patch. - erik