commit | ebf059821ed8a36acd706484b719d14d212ada32 | [log] [tgz] |
---|---|---|
author | Jarek Poplawski <jarkao2@gmail.com> | Mon Sep 22 22:16:23 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 22 22:16:23 2008 -0700 |
tree | 44b2ee2887113ea5d90b35f4c4ae1a376f38e94f | |
parent | f0876520b0b721bedafd9cec3b1b0624ae566eee [diff] |
pkt_sched: Check the state of tx_queue in dequeue_skb() Check in dequeue_skb() the state of tx_queue for requeued skb to save on locking and re-requeuing, and possibly remove the current check in qdisc_run(). Based on the idea of Alexander Duyck. Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>