diff options
author | 2018-06-15 13:27:31 +0300 | |
---|---|---|
committer | 2018-06-17 08:42:33 +0900 | |
commit | 7e85dc8cb35abf16455f1511f0670b57c1a84608 (patch) | |
tree | 67373c29f348071727ab51c76c30b3ae886e4045 /net/9p/trans_xen.c | |
parent | bluetooth: hci_nokia: Don't include linux/unaligned/le_struct.h directly. (diff) | |
download | linux-7e85dc8cb35abf16455f1511f0670b57c1a84608.tar.gz linux-7e85dc8cb35abf16455f1511f0670b57c1a84608.tar.bz2 linux-7e85dc8cb35abf16455f1511f0670b57c1a84608.zip |
net_sched: blackhole: tell upper qdisc about dropped packets
When blackhole is used on top of classful qdisc like hfsc it breaks
qlen and backlog counters because packets are disappear without notice.
In HFSC non-zero qlen while all classes are inactive triggers warning:
WARNING: ... at net/sched/sch_hfsc.c:1393 hfsc_dequeue+0xba4/0xe90 [sch_hfsc]
and schedules watchdog work endlessly.
This patch return __NET_XMIT_BYPASS in addition to NET_XMIT_SUCCESS,
this flag tells upper layer: this packet is gone and isn't queued.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/trans_xen.c')
0 files changed, 0 insertions, 0 deletions