From: Eric Dumazet Date: Thu, 20 Dec 2012 16:00:27 +0000 (+0000) Subject: ip_gre: fix possible use after free X-Git-Tag: v3.8-rc2~19^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7e75ba1772bc712af0070655ffd8b09906993b5;p=pandora-kernel.git ip_gre: fix possible use after free Once skb_realloc_headroom() is called, tiph might point to freed memory. Cache tiph->ttl value before the reallocation, to avoid unexpected behavior. Signed-off-by: Eric Dumazet Cc: Isaku Yamahata Signed-off-by: David S. Miller --- Reading git-diff-tree failed