]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bridge: prevent flooding IPv6 packets that do not have a listener
authorLinus Lüssing <linus.luessing@web.de>
Wed, 4 Sep 2013 00:13:38 +0000 (02:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 16:35:41 +0000 (12:35 -0400)
commit8fad9c39f31f9ed7bf3526c43a4537b2fcf1a5d5
tree885aa1b9b1ace31ff2550cc40aaa23106a6574ad
parentf21278108204ab244cd534a0d45c174ecc559267
bridge: prevent flooding IPv6 packets that do not have a listener

Currently if there is no listener for a certain group then IPv6 packets
for that group are flooded on all ports, even though there might be no
host and router interested in it on a port.

With this commit they are only forwarded to ports with a multicast
router.

Just like commit bd4265fe36 ("bridge: Only flood unregistered groups
to routers") did for IPv4, let's do the same for IPv6 with the same
reasoning.

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