Files
twx-linux/include/linux
Cong Wang 200b916f35 rtnetlink: wait for unregistering devices in rtnl_link_unregister()
From: Cong Wang <cwang@twopensource.com>

commit 50624c934d (net: Delay default_device_exit_batch until no
devices are unregistering) introduced rtnl_lock_unregistering() for
default_device_exit_batch(). Same race could happen we when rmmod a driver
which calls rtnl_link_unregister() as we call dev->destructor without rtnl
lock.

For long term, I think we should clean up the mess of netdev_run_todo()
and net namespce exit code.

Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-15 15:30:33 -04:00
..
…
…
…
…
…
…
2014-04-18 16:40:08 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-08 13:50:20 +10:30
…
…
…
…
…
2012-12-02 00:05:12 +00:00
2009-04-01 08:59:23 -07:00
…
…
…
2011-08-03 11:30:42 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-11-15 09:32:21 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2010-08-04 11:00:45 +02:00
…
…
…
…
…
…
…
2007-02-09 17:39:36 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-01-28 23:21:18 +01:00
…
…
…
…
2014-01-16 10:23:02 +10:30
…
…
…
…
…
…
…
2014-04-01 23:19:14 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-04-07 16:36:07 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-04-16 15:20:36 -07:00
…
…
…
…
…
…
…
…
…
2014-04-17 12:30:40 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-12-11 15:52:34 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-04-01 23:19:08 -04:00
…
…
…
…
2014-01-27 21:02:39 -08:00
…
…
…
…
…
…
…
…
2013-10-14 17:15:48 +02:00
…
…
…
…
…
…
…
…
…
2012-12-11 17:22:27 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
2014-03-19 22:24:08 -04:00
2010-02-10 17:47:17 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-04-01 17:08:43 +02:00
…
…
…
…
…
…
…
…
…
2013-09-10 18:56:32 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-02-17 15:01:37 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
…
…
…
2010-11-29 08:55:25 +11:00
…
2012-07-22 23:57:55 +04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…