From: Eric Dumazet Date: Tue, 23 Aug 2011 19:57:05 +0000 (+0000) Subject: bridge: fix a possible use after free X-Git-Tag: v3.1-rc5~12^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22df13319d1fec30b8f9bcaadc295829647109bb;p=pandora-kernel.git bridge: fix a possible use after free br_multicast_ipv6_rcv() can call pskb_trim_rcsum() and therefore skb head can be reallocated. Cache icmp6_type field instead of dereferencing twice the struct icmp6hdr pointer. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed