Kirill Tkhai 070f2d7e26 net: Drop NETDEV_UNREGISTER_FINAL
Last user is gone after bdf5bd7f2132 "rds: tcp: remove
register_netdevice_notifier infrastructure.", so we can
remove this netdevice command. This allows to delete
rtnl_lock() in netdev_run_todo(), which is hot path for
net namespace unregistration.

dev_change_net_namespace() and netdev_wait_allrefs()
have rcu_barrier() before NETDEV_UNREGISTER_FINAL call,
and the source commits say they were introduced to
delemit the call with NETDEV_UNREGISTER, but this patch
leaves them on the places, since they require additional
analysis, whether we need in them for something else.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-26 11:34:00 -04:00
..
2018-02-15 14:29:27 -08:00
2018-03-05 10:48:27 -05:00
2018-03-22 11:11:29 -04:00
2018-03-26 11:34:00 -04:00
2018-03-23 13:00:46 -04:00
2018-03-12 11:14:06 -04:00
2018-03-17 17:07:39 -04:00
2018-02-13 10:36:08 -05:00
2018-03-23 13:00:47 -04:00
2018-03-23 12:25:54 -04:00
2018-02-20 13:51:47 -05:00
2018-02-01 09:51:57 -08:00
2018-02-13 10:36:05 -05:00