X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fbridge%2Fbr_if.c;h=4bf02adb5dc2433709ce06d6f4b4fdc48e171dd0;hb=6f14d778c15fe08b6d98e759cf7e3893ed67b238;hp=c41d5fbb91d0c3e07bf0eff148d57e6cd74ef8d0;hpb=fbe43ff0031ded2b8500382da17d5d815a9c3edd;p=karo-tx-linux.git diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index c41d5fbb91d0..4bf02adb5dc2 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -172,6 +172,9 @@ void br_dev_delete(struct net_device *dev, struct list_head *head) del_nbp(p); } + br_fdb_delete_by_port(br, NULL, 1); + + br_vlan_flush(br); del_timer_sync(&br->gc_timer); br_sysfs_delbr(br->dev);