From: Hannes Frederic Sowa Date: Sun, 18 Aug 2013 11:46:52 +0000 (+0200) Subject: ipv6: wire up skb->encapsulation X-Git-Tag: v3.11~4^2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d483058c8c8b87a167155ca9ddd776dd730bc39;p=pandora-kernel.git 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 Cc: YOSHIFUJI Hideaki Cc: Nicolas Dichtel Acked-by: Eric Dumazet Signed-off-by: Hannes Frederic Sowa Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed