]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: multicast: fix handling of temp and perm entries
authorSatish Ashok <sashok@cumulusnetworks.com>
Wed, 15 Jul 2015 14:16:51 +0000 (07:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2015 19:49:10 +0000 (12:49 -0700)
commita49fe990905e5c2646d1a5d3d3de85620acf9c29
tree587a87497bfc08ab6fb8377dcf92d4e3e8c37e51
parent34baba4de49d6e4737ba9b9b094620e556d8e657
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>
net/bridge/br_if.c
net/bridge/br_multicast.c
net/bridge/br_private.h