On Thu, 29 Oct 2020 23:49:19 +0100 Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx> wrote: > register_netdevice_notifier() registers raw notifier chain, > whose callbacks are not called from atomic context and there are > no restrictions on callbacks. See include/linux/notifier.h. > > So it looks like the spin_lock_bh() can be safely changed to > mutex_lock(). > Niiiiceeee, this simplifies things much. Thank you, Jacek :)