From: Li RongQing Date: Fri, 17 Oct 2014 08:53:23 +0000 (+0800) Subject: ipv4: fix a potential use after free in ip_tunnel_core.c X-Git-Tag: fixes-against-v3.18-rc2~61^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1245dfc8cadb258386fcd27df38215a0eccb1f17;p=pandora-kernel.git 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 Signed-off-by: Li RongQing Acked-by: Pravin B Shelar Signed-off-by: David S. Miller --- Reading git-diff-tree failed