]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bridge: Fix IPv6 multicast snooping by correcting offset in MLDv2 report
authorLinus Lüssing <linus.luessing@web.de>
Tue, 15 Feb 2011 13:19:18 +0000 (13:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Feb 2011 18:07:26 +0000 (10:07 -0800)
commit649e984d00416cb1a254fdbebd6d3f9fa01c32fa
treef55db589cf188c833680f64622a6baee407e78ca
parent9cc6e0c4c457f84bedcfb04e7dd58a36909c4ef7
bridge: Fix IPv6 multicast snooping by correcting offset in MLDv2 report

We actually want a pointer to the grec_nsrcr and not the following
field. Otherwise we can get very high values for *nsrcs as the first two
bytes of the IPv6 multicast address are being used instead, leading to
a failing pskb_may_pull() which results in MLDv2 reports not being
parsed.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c