diff options
author | Satish Ashok <sashok@cumulusnetworks.com> | 2015-07-15 07:16:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-20 12:49:10 -0700 |
commit | e10177abf842d0c40dfecc43bd57a0a762a2fccf (patch) | |
tree | 587a87497bfc08ab6fb8377dcf92d4e3e8c37e51 /net/bridge/br_private.h | |
parent | ef8299de7e2bf61ed24d1da699fa5ba13549d5f8 (diff) | |
download | linux-e10177abf842d0c40dfecc43bd57a0a762a2fccf.tar.gz linux-e10177abf842d0c40dfecc43bd57a0a762a2fccf.tar.bz2 linux-e10177abf842d0c40dfecc43bd57a0a762a2fccf.zip |
bridge: multicast: fix handling of temp and perm entries
When the bridge (or port) is brought down/up flush only temp entries and
leave the perm ones. Flush perm entries only when deleting the bridge
device or the associated port.
Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index c73fd785654d..2bada2279721 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -466,6 +466,7 @@ void br_multicast_disable_port(struct net_bridge_port *port); void br_multicast_init(struct net_bridge *br); void br_multicast_open(struct net_bridge *br); void br_multicast_stop(struct net_bridge *br); +void br_multicast_dev_del(struct net_bridge *br); void br_multicast_deliver(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb); void br_multicast_forward(struct net_bridge_mdb_entry *mdst, |