aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2016-06-12 20:01:25 -0700
committerDavid S. Miller <[email protected]>2016-06-14 17:17:58 -0400
commit6c0d54f1897d229748d4f41ef919078db6db2123 (patch)
tree966844c4135e7b6a037db8f2ad66c072b61f20fd /lib/netdev-notifier-error-inject.c
parent881d0327db37ad917a367c77aff1afa1ee41e0a9 (diff)
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 <[email protected]> Cc: WANG Cong <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Acked-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions