]> err.no Git - linux-2.6/commit
[NET]: Check RTNL status in unregister_netdevice
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2007 03:21:56 +0000 (19:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:43 +0000 (14:57 -0800)
commita66207121f85c54a3df4d347a3c5bdf6cb154b09
treefdcce4dae89c2c4d0e0978b5be80e99dcb54a693
parentaebcf82c1fe9231be5cb4f9c1362d5db39e7d7b2
[NET]: Check RTNL status in unregister_netdevice

The caller must hold the RTNL so let's check it in unregister_netdevice.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c