Commit 372cc74c authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Prevent much sadness in qdisc_lock_tree().

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97fc8d0b
...@@ -3016,9 +3016,7 @@ int register_netdevice(struct net_device *dev) ...@@ -3016,9 +3016,7 @@ int register_netdevice(struct net_device *dev)
spin_lock_init(&dev->queue_lock); spin_lock_init(&dev->queue_lock);
spin_lock_init(&dev->_xmit_lock); spin_lock_init(&dev->_xmit_lock);
dev->xmit_lock_owner = -1; dev->xmit_lock_owner = -1;
#ifdef CONFIG_NET_CLS_ACT
spin_lock_init(&dev->ingress_lock); spin_lock_init(&dev->ingress_lock);
#endif
dev->iflink = -1; dev->iflink = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment