commit | d4a71b155c12d0d429c6b69d94076d6d57e2a7a7 | [log] [tgz] |
---|---|---|
author | Pravin B Shelar <pshelar@nicira.com> | Wed Sep 25 09:57:47 2013 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 30 15:05:07 2013 -0400 |
tree | ef6a48cbbda948c321542dc13e66686a21998b00 | |
parent | 2d77f343343c4f38b8f94be1964bbbc6456a147f [diff] |
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 <pshelar@nicira.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>