Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74804
b: refs/heads/master
c: d59b54b
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Dec 11, 2007
1 parent d3a78bd commit a991176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbe42974215eb7a483c344fca50652b3b9dd1ae4
refs/heads/master: d59b54b150b3b69b721f1e161efd42ecb7619897
6 changes: 2 additions & 4 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3972,8 +3972,7 @@ void synchronize_net(void)
* @dev: device
*
* This function shuts down a device interface and removes it
* from the kernel tables. On success 0 is returned, on a failure
* a negative errno code is returned.
* from the kernel tables.
*
* Callers must hold the rtnl semaphore. You may want
* unregister_netdev() instead of this.
Expand All @@ -3991,8 +3990,7 @@ void unregister_netdevice(struct net_device *dev)
* @dev: device
*
* This function shuts down a device interface and removes it
* from the kernel tables. On success 0 is returned, on a failure
* a negative errno code is returned.
* from the kernel tables.
*
* This is just a wrapper for unregister_netdevice that takes
* the rtnl semaphore. In general you want to use this and not
Expand Down

0 comments on commit a991176

Please sign in to comment.