diff options
Diffstat (limited to 'net/sched/sch_generic.c')
-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 07200bfebf00..816d311db40f 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c | |||
@@ -132,6 +132,7 @@ static inline int qdisc_restart(struct net_device *dev) | |||
132 | netif_tx_unlock(dev); | 132 | netif_tx_unlock(dev); |
133 | } | 133 | } |
134 | spin_lock(&dev->queue_lock); | 134 | spin_lock(&dev->queue_lock); |
135 | q = dev->qdisc; | ||
135 | goto out; | 136 | goto out; |
136 | } | 137 | } |
137 | if (ret == NETDEV_TX_LOCKED && nolock) { | 138 | if (ret == NETDEV_TX_LOCKED && nolock) { |