commit | 1245dfc8cadb258386fcd27df38215a0eccb1f17 | [log] [tgz] |
---|---|---|
author | Li RongQing <roy.qing.li@gmail.com> | Fri Oct 17 16:53:23 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 17 23:45:26 2014 -0400 |
tree | 38a3993b3d7e13526c5a9980eb43aaff9ee3c0ad | |
parent | f88e67149f97d73c704d6fe6f492edde97463025 [diff] |
ipv4: fix a potential use after free in ip_tunnel_core.c pskb_may_pull() maybe change skb->data and make eth pointer oboslete, so set eth after pskb_may_pull() Fixes:3d7b46cd("ip_tunnel: push generic protocol handling to ip_tunnel module") Cc: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Acked-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>