summaryrefslogtreecommitdiff
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-08-23 19:57:05 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-08-25 00:49:24 (GMT)
commit22df13319d1fec30b8f9bcaadc295829647109bb (patch)
treeb61441ea39ac3c525746bfe8aaab9b6b5f9c6c63 /net/core/neighbour.c
parent4b275d7efa1c4412f0d572fcd7f78ed0919370b3 (diff)
downloadlinux-fsl-qoriq-22df13319d1fec30b8f9bcaadc295829647109bb.tar.xz
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/neighbour.c')
0 files changed, 0 insertions, 0 deletions