Roland Dreier wrote: > > + ipoib_slave_detach(cpriv->dev); > > unregister_netdev(cpriv->dev); > > Maybe you already answered this before, but I'm still not clear why > this notifier call can't just be added to the start of > unregister_netdevice(), so we can avoid having driver needing to know > anything about bonding internals? > > - R.
The action in bonding to a detach of slave is to unregister the master (see patch 10). This can't be done from the context of unregister_netdevice itself (it is protected by rtnl_lock). That's why I had to notify the detach before unregister begins. _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
