summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-10-18 06:29:25 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-18 06:29:25 +0200
commit33b5ecb8f64706d1ed472dcb44162ab3a7345724 (patch)
tree065d9cc0592bc08db34a562ff8753279cf52509c /net/ipv6/ah6.c
parent[IPSEC]: Move tunnel parsing for IPv4 out of xfrm4_input (diff)
downloadlinux-33b5ecb8f64706d1ed472dcb44162ab3a7345724.tar.xz
linux-33b5ecb8f64706d1ed472dcb44162ab3a7345724.zip
[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 <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ah6.c')
0 files changed, 0 insertions, 0 deletions