aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_output.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-08-18 13:46:52 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2013-08-19 09:37:46 +0200
commit3d483058c8c8b87a167155ca9ddd776dd730bc39 (patch)
treee328408bd4bca5348211bd939a53e002bf256349 /net/ipv6/xfrm6_output.c
parentxfrm: introduce helper for safe determination of mtu (diff)
downloadlinux-dev-3d483058c8c8b87a167155ca9ddd776dd730bc39.tar.xz
linux-dev-3d483058c8c8b87a167155ca9ddd776dd730bc39.zip
ipv6: wire up skb->encapsulation
When pushing a new header before current one call skb_reset_inner_headers to record the position of the inner headers in the various ipv6 tunnel protocols. We later need this to correctly identify the addresses needed to send back an error in the xfrm layer. This change is safe, because skb->protocol is always checked before dereferencing data from the inner protocol. Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
0 files changed, 0 insertions, 0 deletions