diff options
Diffstat (limited to 'net/sched/sch_prio.c')
| -rw-r--r-- | net/sched/sch_prio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c index abd82fc3ec60..de894096e442 100644 --- a/net/sched/sch_prio.c +++ b/net/sched/sch_prio.c | |||
| @@ -136,7 +136,7 @@ prio_dequeue(struct Qdisc* sch) | |||
| 136 | * pulling an skb. This way we avoid excessive requeues | 136 | * pulling an skb. This way we avoid excessive requeues |
| 137 | * for slower queues. | 137 | * for slower queues. |
| 138 | */ | 138 | */ |
| 139 | if (!netif_subqueue_stopped(sch->dev, (q->mq ? prio : 0))) { | 139 | if (!__netif_subqueue_stopped(sch->dev, (q->mq ? prio : 0))) { |
| 140 | qdisc = q->queues[prio]; | 140 | qdisc = q->queues[prio]; |
| 141 | skb = qdisc->dequeue(qdisc); | 141 | skb = qdisc->dequeue(qdisc); |
| 142 | if (skb) { | 142 | if (skb) { |
| @@ -165,7 +165,7 @@ static struct sk_buff *rr_dequeue(struct Qdisc* sch) | |||
| 165 | * for slower queues. If the queue is stopped, try the | 165 | * for slower queues. If the queue is stopped, try the |
| 166 | * next queue. | 166 | * next queue. |
| 167 | */ | 167 | */ |
| 168 | if (!netif_subqueue_stopped(sch->dev, | 168 | if (!__netif_subqueue_stopped(sch->dev, |
| 169 | (q->mq ? q->curband : 0))) { | 169 | (q->mq ? q->curband : 0))) { |
| 170 | qdisc = q->queues[q->curband]; | 170 | qdisc = q->queues[q->curband]; |
| 171 | skb = qdisc->dequeue(qdisc); | 171 | skb = qdisc->dequeue(qdisc); |
