diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-11-06 01:02:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-06 01:02:34 +0100 |
commit | 61c9eaf90081cbe6dc4f389e0056bff76eca19ec (patch) | |
tree | 4122787f6a424c75de5f7562e84ccf34ca37251a /drivers/net/3c505.c | |
parent | net: Don't leak packets when a netns is going down (diff) | |
download | linux-61c9eaf90081cbe6dc4f389e0056bff76eca19ec.tar.xz linux-61c9eaf90081cbe6dc4f389e0056bff76eca19ec.zip |
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>
Diffstat (limited to 'drivers/net/3c505.c')
0 files changed, 0 insertions, 0 deletions