Skip to content

Commit 372cc74

Browse files
akpm00David S. Miller
authored andcommitted
[NET]: Prevent much sadness in qdisc_lock_tree().
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 97fc8d0 commit 372cc74

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎net/core/dev.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,9 +3016,7 @@ int register_netdevice(struct net_device *dev)
30163016
spin_lock_init(&dev->queue_lock);
30173017
spin_lock_init(&dev->_xmit_lock);
30183018
dev->xmit_lock_owner = -1;
3019-
#ifdef CONFIG_NET_CLS_ACT
30203019
spin_lock_init(&dev->ingress_lock);
3021-
#endif
30223020

30233021
dev->iflink = -1;
30243022

0 commit comments

Comments
 (0)