diff options
author | Eric Dumazet | 2016-06-13 05:01:25 +0200 |
---|---|---|
committer | David S. Miller | 2016-06-14 23:17:58 +0200 |
commit | 6c0d54f1897d229748d4f41ef919078db6db2123 (patch) | |
tree | 966844c4135e7b6a037db8f2ad66c072b61f20fd /net/bridge/br_vlan.c | |
parent | net: alx: Work around the DMA RX overflow issue (diff) | |
download | kernel-qcow2-linux-6c0d54f1897d229748d4f41ef919078db6db2123.tar.gz kernel-qcow2-linux-6c0d54f1897d229748d4f41ef919078db6db2123.tar.xz kernel-qcow2-linux-6c0d54f1897d229748d4f41ef919078db6db2123.zip |
net_sched: fix pfifo_head_drop behavior vs backlog
When the qdisc is full, we drop a packet at the head of the queue,
queue the current skb and return NET_XMIT_CN
Now we track backlog on upper qdiscs, we need to call
qdisc_tree_reduce_backlog(), even if the qlen did not change.
Fixes: 2ccccf5fb43f ("net_sched: update hierarchical backlog too")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_vlan.c')
0 files changed, 0 insertions, 0 deletions