projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97fc8d0
)
[NET]: Prevent much sadness in qdisc_lock_tree().
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 23 Apr 2007 06:22:24 +0000
(23:22 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:38 +0000
(22:29 -0700)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index f3b99701da5bef2adeec42e475ea26bcc85c4722..18c51b40f6657170d8d9ec8e574278aa0a733706 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-3016,9
+3016,7
@@
int register_netdevice(struct net_device *dev)
spin_lock_init(&dev->queue_lock);
spin_lock_init(&dev->_xmit_lock);
dev->xmit_lock_owner = -1;
-#ifdef CONFIG_NET_CLS_ACT
spin_lock_init(&dev->ingress_lock);
-#endif
dev->iflink = -1;