]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Fix IPv6 multicast snooping by storing correct protocol type
authorLinus Lüssing <linus.luessing@web.de>
Tue, 15 Feb 2011 13:19:17 +0000 (13:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Feb 2011 18:07:26 +0000 (10:07 -0800)
commit92011e60f8bbbeebf829cd2309e2db8bb6b51eec
treee0a1dc5eba3ce25e8f1cf0b3b78a60314ee80975
parent903cd2cc752e7ef0569a696e8cca7f0c73584491
bridge: Fix IPv6 multicast snooping by storing correct protocol type

The protocol type for IPv6 entries in the hash table for multicast
bridge snooping is falsely set to ETH_P_IP, marking it as an IPv4
address, instead of setting it to ETH_P_IPV6, which results in negative
look-ups in the hash table later.

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