diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/sch_generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 3385ee592541..a8240c578772 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c | |||
@@ -139,6 +139,7 @@ static inline int qdisc_restart(struct net_device *dev) | |||
139 | } | 139 | } |
140 | if (ret == NETDEV_TX_LOCKED && nolock) { | 140 | if (ret == NETDEV_TX_LOCKED && nolock) { |
141 | spin_lock(&dev->queue_lock); | 141 | spin_lock(&dev->queue_lock); |
142 | q = dev->qdisc; | ||
142 | goto collision; | 143 | goto collision; |
143 | } | 144 | } |
144 | } | 145 | } |