Subject: Re: [PATCH 3/11] [IPSEC]: Get nexthdr from caller in xfrm6_rcv_spi

From: David Miller <[email-masked]>
Date: Wed, 17 Oct 2007 21:29:32 -0700 (PDT)

From: Herbert Xu <[email-masked]>
Date: Wed, 17 Oct 2007 22:34:10 +0800

> [IPSEC]: Get nexthdr from caller in xfrm6_rcv_spi
> 
> Currently xfrm6_rcv_spi gets the nexthdr value itself from the packet.
> This means that we need to fix up the value in case we have a 4-on-6
> tunnel.  Moving this logic into the caller simplifies things and allows
> us to merge the code with IPv4.
> 
> Signed-off-by: Herbert Xu <[email-masked]>

Applied.