]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: Simplify dev_requeue_skb and dequeue_skb
authorJarek Poplawski <jarkao2@gmail.com>
Mon, 6 Oct 2008 17:41:50 +0000 (10:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2008 17:41:50 +0000 (10:41 -0700)
commit6252352d16f7b45a0fd42224f7e70e0288dc4480
tree5740210fbe67fb754c47a13cf6d18d4e09a10015
parent554794de7949d1a6279336404c066f974d4c2bde
pkt_sched: Simplify dev_requeue_skb and dequeue_skb

qdisc->requeue was planned to universally replace all requeuing code,
but at the top level we never requeue more than one skb, so qdisc->
gso_skb is enough for this. qdisc->requeue would be used on the lower
levels only for one level deep requeuing (like in sch_hfsc) after
finishing all the changes.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c