commit | 61c9eaf90081cbe6dc4f389e0056bff76eca19ec | [log] [tgz] |
---|---|---|
author | Jarek Poplawski <jarkao2@gmail.com> | Wed Nov 05 16:02:34 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 05 16:02:34 2008 -0800 |
tree | 4122787f6a424c75de5f7562e84ccf34ca37251a | |
parent | 0a36b345ab99d6b3c96999e7e3b79bd243cf9bf7 [diff] |
pkt_sched: Fix qdisc len in qdisc_peek_dequeued() 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>