From: Pravin B Shelar Date: Wed, 25 Sep 2013 16:57:47 +0000 (-0700) Subject: ip_tunnel: Do not use stale inner_iph pointer. X-Git-Tag: v3.12-rc4~30^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a71b155c12d0d429c6b69d94076d6d57e2a7a7;p=pandora-kernel.git ip_tunnel: Do not use stale inner_iph pointer. While sending packet skb_cow_head() can change skb header which invalidates inner_iph pointer to skb header. Following patch avoid using it. Found by code inspection. This bug was introduced by commit 0e6fbc5b6c6218 (ip_tunnels: extend iptunnel_xmit()). Signed-off-by: Pravin B Shelar Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed