Re: [PATCH net v2] net: bridge: delete local fdb on device init failure

2019-07-29 Thread David Miller
From: Nikolay Aleksandrov Date: Mon, 29 Jul 2019 12:28:41 +0300 > On initialization failure we have to delete the local fdb which was > inserted due to the default pvid creation. This problem has been present > since the inception of default_pvid. Note that currently there are 2 cases: > 1) in

[PATCH net v2] net: bridge: delete local fdb on device init failure

2019-07-29 Thread Nikolay Aleksandrov
On initialization failure we have to delete the local fdb which was inserted due to the default pvid creation. This problem has been present since the inception of default_pvid. Note that currently there are 2 cases: 1) in br_dev_init() when br_multicast_init() fails 2) if register_netdevice()