[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080129.211227.160323820.davem@davemloft.net>
Date: Tue, 29 Jan 2008 21:12:27 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: pupilla@...mail.com, Daniel.Beschorner@...ton.com,
netdev@...r.kernel.org
Subject: Re: ipcomp regression in 2.6.24
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 30 Jan 2008 14:15:33 +1100
> Marco Berizzi <pupilla@...mail.com> wrote:
> >
> >> > With 2.6.24 IPSEC/ESP tunnels to older kernels establish fine, data
> >> > flows in both directions, but no data comes out of the tunnel.
> >> > Needed to disable ipcomp.
> >
> > Same problem here: linux 2.6.24 driven by openswan 2.4.11
> > on Slackware 11.0
>
> My bad. This patch should fix it.
>
> [IPCOMP]: Fetch nexthdr before ipch is destroyed
>
> When I moved the nexthdr setting out of IPComp I accidently moved
> the reading of ipch->nexthdr after the decompression. Unfortunately
> this means that we'd be reading from a stale ipch pointer which
> doesn't work very well.
>
> This patch moves the reading up so that we get the correct nexthdr
> value.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, and queued for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists