diff options
-rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index aa8329508dba..c79a226cc25c 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -578,8 +578,10 @@ static enum hrtimer_restart qdisc_watchdog(struct hrtimer *timer) | |||
578 | struct qdisc_watchdog *wd = container_of(timer, struct qdisc_watchdog, | 578 | struct qdisc_watchdog *wd = container_of(timer, struct qdisc_watchdog, |
579 | timer); | 579 | timer); |
580 | 580 | ||
581 | rcu_read_lock(); | ||
581 | qdisc_unthrottled(wd->qdisc); | 582 | qdisc_unthrottled(wd->qdisc); |
582 | __netif_schedule(qdisc_root(wd->qdisc)); | 583 | __netif_schedule(qdisc_root(wd->qdisc)); |
584 | rcu_read_unlock(); | ||
583 | 585 | ||
584 | return HRTIMER_NORESTART; | 586 | return HRTIMER_NORESTART; |
585 | } | 587 | } |