summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_blackhole.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-09-23 07:16:23 +0200
committerDavid S. Miller <davem@davemloft.net>2008-09-23 07:16:23 +0200
commitebf059821ed8a36acd706484b719d14d212ada32 (patch)
tree44b2ee2887113ea5d90b35f4c4ae1a376f38e94f /net/sched/sch_blackhole.c
parentpkt_sched: Always use q->requeue in dev_requeue_skb(). (diff)
downloadlinux-ebf059821ed8a36acd706484b719d14d212ada32.tar.xz
linux-ebf059821ed8a36acd706484b719d14d212ada32.zip
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>
Diffstat (limited to 'net/sched/sch_blackhole.c')
0 files changed, 0 insertions, 0 deletions