pkt_sched: Fix qdisc len in qdisc_peek_dequeued()
authorJarek Poplawski <jarkao2@gmail.com>
Thu, 6 Nov 2008 00:02:34 +0000 (16:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2008 00:02:34 +0000 (16:02 -0800)
A packet dequeued and stored as gso_skb in qdisc_peek_dequeued() should
be seen as part of the queue for sch->q.qlen queries until it's really
dequeued with qdisc_dequeue_peeked(), so qlen needs additional updating
in these functions. (Updating qstats.backlog shouldn't matter here.)

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

No differences found