From: Willy Tarreau <w@1wt.eu>
To: David Miller <davem@davemloft.net>
Cc: virtualphtn@gmail.com, netdev@vger.kernel.org,
lachlan.andrew@gmail.com, stable@kernel.org
Subject: Re: [PATCH][BUG] tcp: advertise MSS requested by user
Date: Sat, 13 Jun 2009 12:12:31 +0200 [thread overview]
Message-ID: <20090613101231.GA11885@1wt.eu> (raw)
In-Reply-To: <20080921.002215.70489510.davem@davemloft.net>
Hi Dave,
On Sun, Sep 21, 2008 at 12:22:15AM -0700, David Miller wrote:
> From: Tom Quetchenbach <virtualphtn@gmail.com>
> Date: Tue, 26 Aug 2008 11:11:52 -0700
>
> > This patch (applies to latest net-2.6) reduces the advertised value to
> > that requested by the user as long as setsockopt() is called before
> > connect() or accept(). This seems like the behavior that one would expect
> > as well as that which is documented.
> ...
> > Signed-off-by: Tom Quetchenbach <virtualphtn@gmail.com>
>
> I've applied this patch to net-next-2.6, thanks Tom.
Yesterday I worked on a similar patch to address the same issue which
I was experiencing on 2.6.27.25. Before posting my tiny patch, I
preferred to check the list and found this one which addresses the
same issue and which is already merged in mainline !
Would you accept to queue it for -stable please ? The commit ID was
f5fff5dc8a7a3f395b0525c02ba92c95d42b7390. I did not figure how to find
when it was merged, because its version pre-dates 2.6.27 (it matches
your net-2.6 queue I think). git-describe --contains tells me it was
merged in 2.6.28-rc1.
BTW, I found the same behaviour in 2.4 too, and from my quick analysis,
the mss is correctly computed till the moment the SYN-ACK is built,
where the one from the route cache is used instead. I'll check deeper
when I have time, but most likely a similar fix is needed there too.
Thanks!
Willy
prev parent reply other threads:[~2009-06-13 10:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 18:11 [PATCH][BUG] tcp: advertise MSS requested by user Tom Quetchenbach
2008-08-28 9:46 ` David Miller
2008-08-28 9:50 ` Denys Fedoryshchenko
2008-08-29 16:48 ` Tom Quetchenbach
2008-08-29 16:57 ` Denys Fedoryshchenko
2008-09-21 7:22 ` David Miller
2009-06-13 10:12 ` Willy Tarreau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090613101231.GA11885@1wt.eu \
--to=w@1wt.eu \
--cc=davem@davemloft.net \
--cc=lachlan.andrew@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=stable@kernel.org \
--cc=virtualphtn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.