Re: [patch net] switchdev: Require RTNL mutex to be held when sending FDB notifications

2016-01-28 Thread David Miller
From: Jiri Pirko Date: Wed, 27 Jan 2016 15:16:43 +0100 > From: Ido Schimmel > > When switchdev drivers process FDB notifications from the underlying > device they resolve the netdev to which the entry points to and notify > the bridge using the switchdev notifier. > > However, since the RTNL m

[patch net] switchdev: Require RTNL mutex to be held when sending FDB notifications

2016-01-27 Thread Jiri Pirko
From: Ido Schimmel When switchdev drivers process FDB notifications from the underlying device they resolve the netdev to which the entry points to and notify the bridge using the switchdev notifier. However, since the RTNL mutex is not held there is nothing preventing the netdev from disappeari