]> git.baikalelectronics.ru Git - 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)
commit8d315e423b1eb3527dbe1c1a7d9d01755aa7b7f8
treef55db589cf188c833680f64622a6baee407e78ca
parent92011e60f8bbbeebf829cd2309e2db8bb6b51eec
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