summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.ninka.net>2003-05-19 09:23:57 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-05-19 09:23:57 -0700
commit13d6a99c44c8ff3298f4d447b321000ec4cd4d8d (patch)
treef943d5126f299f78be722d0f134e28fb3a234bcf /include/linux/netdevice.h
parentff936f4e8148e75b20595eda5de6d3a4bb55b631 (diff)
[NET]: More device register/unregister fixing.
Revert the rtnl_lock API change, it is totally unneeded. Instead we manage the todo work inside of net/core/dev.c Also, we have to move sbin hotplug invocation outside of the RTNL semaphore as well, both for register and unregister.
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 27716f740fb0..94d077ef70be 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -625,7 +625,7 @@ static inline int netif_rx_ni(struct sk_buff *skb)
}
/* Called by rtnetlink.c:rtnl_unlock() */
-extern void netdev_wait_and_finish_unregister(struct net_device **list);
+extern void netdev_run_todo(void);
static inline void dev_put(struct net_device *dev)
{