summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2019-07-02 15:00:19 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-02 11:53:03 -0700
commit3b26a5d03d35d8f732d75951218983c0f7f68dff (patch)
treebc1f2681b614e7cd8c61c1e21deb53bd5735a195 /net/bridge/br_input.c
parente57f61858b7cf478ed6fa23ed4b3876b1c9625c4 (diff)
downloadlinux-3b26a5d03d35d8f732d75951218983c0f7f68dff.tar.gz
linux-3b26a5d03d35d8f732d75951218983c0f7f68dff.tar.bz2
linux-3b26a5d03d35d8f732d75951218983c0f7f68dff.zip
net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
We get a pointer to the ipv6 hdr in br_ip6_multicast_query but we may call pskb_may_pull afterwards and end up using a stale pointer. So use the header directly, it's just 1 place where it's needed. Fixes: 08b202b67264 ("bridge br_multicast: IPv6 MLD support.") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Tested-by: Martin Weinelt <martin@linuxlounge.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
0 files changed, 0 insertions, 0 deletions