Files
linux/drivers
Daniel Lezcano c15853f2c1 veth: fix dev refcount race
When deleting the veth driver, veth_close calls netif_carrier_off
for the two extremities of the network device. netif_carrier_off on
the peer device will fire an event and hold a reference on the peer
device. Just after, the peer is unregistered taking the rtnl_lock while
the linkwatch_event is scheduled. If __linkwatch_run_queue does not
occurs before the unregistering, unregister_netdevice will wait for
the dev refcount to reach zero holding the rtnl_lock and linkwatch_event
will wait for the rtnl_lock and hold the dev refcount.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-20 00:21:47 -08:00
..
…
…
2008-02-09 03:33:40 -05:00
2008-02-05 09:44:23 -08:00
…
2008-02-06 10:41:15 -08:00
…
2008-02-07 20:39:44 -05:00
2008-02-08 14:32:37 -08:00
2008-02-08 09:22:38 -08:00
…
2008-02-08 02:11:39 +00:00
2008-02-07 08:42:23 -08:00
2008-02-20 00:21:47 -08:00
2008-02-09 10:46:40 +01:00
2008-02-09 23:27:01 -08:00
…
2008-02-09 10:43:58 +01:00
…
…
…
…
2008-02-06 10:41:07 -08:00
…