Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108373
b: refs/heads/master
c: 83f36f3
h: refs/heads/master
i:
  108371: 80394fe
v: v3
  • Loading branch information
David S. Miller committed Aug 13, 2008
1 parent 8499ecf commit a95338b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e0115e500fe9dd2ca11e6f92db9123204f1327a
refs/heads/master: 83f36f3f35f4f83fa346bfff58a5deabc78370e5
5 changes: 4 additions & 1 deletion trunk/include/net/pkt_sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ extern void __qdisc_run(struct Qdisc *q);

static inline void qdisc_run(struct Qdisc *q)
{
if (!test_and_set_bit(__QDISC_STATE_RUNNING, &q->state))
struct netdev_queue *txq = q->dev_queue;

if (!netif_tx_queue_stopped(txq) &&
!test_and_set_bit(__QDISC_STATE_RUNNING, &q->state))
__qdisc_run(q);
}

Expand Down

0 comments on commit a95338b

Please sign in to comment.