diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2014-10-17 10:53:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-18 05:45:26 +0200 |
commit | 1245dfc8cadb258386fcd27df38215a0eccb1f17 (patch) | |
tree | 38a3993b3d7e13526c5a9980eb43aaff9ee3c0ad /net/ipv4/fou.c | |
parent | hyperv: Add handling of IP header with option field in netvsc_set_hash() (diff) | |
download | linux-1245dfc8cadb258386fcd27df38215a0eccb1f17.tar.xz linux-1245dfc8cadb258386fcd27df38215a0eccb1f17.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions