]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bridge: Do not send queries on multicast group leaves
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 4 Apr 2012 01:01:20 +0000 (01:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:54 +0000 (10:16 -0700)
commite4d90d800592947e994f3276cf065ca25c836e8c
tree0d0e9f2983d9f4bc60e2a4d3a2ac363f24852451
parent159ea327099b6b63eac8d95f840606fd2fc86881
bridge: Do not send queries on multicast group leaves

[ Upstream commit 996304bbea3d2a094b7ba54c3bd65d3fffeac57b ]

As it stands the bridge IGMP snooping system will respond to
group leave messages with queries for remaining membership.
This is both unnecessary and undesirable.  First of all any
multicast routers present should be doing this rather than us.
What's more the queries that we send may end up upsetting other
multicast snooping swithces in the system that are buggy.

In fact, we can simply remove the code that send these queries
because the existing membership expiry mechanism doesn't rely
on them anyway.

So this patch simply removes all code associated with group
queries in response to group leave messages.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_multicast.c
net/bridge/br_private.h