diff options
author | Hannes Frederic Sowa <[email protected]> | 2013-08-18 13:46:52 +0200 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2013-08-19 09:37:46 +0200 |
commit | 3d483058c8c8b87a167155ca9ddd776dd730bc39 (patch) | |
tree | e328408bd4bca5348211bd939a53e002bf256349 /net/unix/sysctl_net_unix.c | |
parent | 0ea9d5e3e0e03a63b11392f5613378977dae7eca (diff) |
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 <[email protected]>
Cc: YOSHIFUJI Hideaki <[email protected]>
Cc: Nicolas Dichtel <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions