From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: Regression (ancient), bisected: TCP hangs with certain ESP6 SA. Date: Thu, 30 Sep 2010 18:17:16 -0700 (PDT) Message-ID: <20100930.181716.43034538.davem@davemloft.net> References: <20100929142213.GA26031@elliptictech.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, herbert@gondor.apana.org.au, eric.dumazet@gmail.com To: nbowler@elliptictech.com Return-path: In-Reply-To: <20100929142213.GA26031@elliptictech.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Nick Bowler Date: Wed, 29 Sep 2010 10:22:13 -0400 > b5c15fc004ac83b7ad280acbe0fd4bbed7e2c8d4 is the first bad commit > commit b5c15fc004ac83b7ad280acbe0fd4bbed7e2c8d4 > Author: Herbert Xu > Date: Thu Feb 14 23:49:37 2008 -0800 > > [IPV6]: Fix reversed local_df test in ip6_fragment > > I managed to reverse the local_df test when forward-porting this > patch so it actually makes things worse by never fragmenting at > all. > > Thanks to David Stevens for testing and reporting this bug. > > Bill Fink pointed out that the local_df setting is also the wrong > way around. > > Signed-off-by: Herbert Xu > Signed-off-by: David S. Miller I suspect that Herbert's change is correct, it's just that for some reason PMTU doesn't work correctly with IPV6 for whatever reason. That matches with your observed behavior that ping and UDP stuff works just fine, and it's just TCP with certain ESP6 transport mode settings.