> This means, as far as I understand, 2 things:
> 1. call_netdevice_notifiers_info doesn't help, since our problem is the
> same
> 2. I think that holding the RTNL should also be a valid way to iterate
> through the net devices in the current netns, and doing just that
> could be the simplest way out. It certainly worked when I tried it.
> But those could also be famous last words...
DSA makes the assumption it can block in a notifier change event. For
example, NETDEV_CHANGEUPPER calls dsa_slave_changeupper() which calls
into the driver. We have not seen any warnings about sleeping while
atomic. So maybe see how NETDEV_CHANGEUPPER is issued.
Andrew