Re: [PATCH RESEND net-next 0/2] net_rwsem fixes

2018-03-31 Thread David Miller
From: Kirill Tkhai Date: Fri, 30 Mar 2018 19:38:16 +0300 > there is wext_netdev_notifier_call()->wireless_nlevent_flush() > netdevice notifier, which takes net_rwsem, so we can't take > net_rwsem in {,un}register_netdevice_notifier(). > > Since {,un}register_netdevice_notifier() is executed unde

[PATCH RESEND net-next 0/2] net_rwsem fixes

2018-03-30 Thread Kirill Tkhai
(Forgot to CC netdev@ :) Hi, there is wext_netdev_notifier_call()->wireless_nlevent_flush() netdevice notifier, which takes net_rwsem, so we can't take net_rwsem in {,un}register_netdevice_notifier(). Since {,un}register_netdevice_notifier() is executed under pernet_ops_rwsem, net_namespace_list