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_if.c | |
parent | ef8299de7e2bf61ed24d1da699fa5ba13549d5f8 (diff) | |
download | linux-e10177abf842d0c40dfecc43bd57a0a762a2fccf.tar.bz2 |
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_if.c')
-rw-r--r-- | net/bridge/br_if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index a538cb1199a3..45e4757c6fd2 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -281,6 +281,7 @@ void br_dev_delete(struct net_device *dev, struct list_head *head) br_fdb_delete_by_port(br, NULL, 0, 1); br_vlan_flush(br); + br_multicast_dev_del(br); del_timer_sync(&br->gc_timer); br_sysfs_delbr(br->dev); |