Searched hist:"7 e85dc8cb35abf16455f1511f0670b57c1a84608" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/sched/ |
H A D | sch_blackhole.c | diff 7e85dc8cb35abf16455f1511f0670b57c1a84608 Fri Jun 15 05:27:31 CDT 2018 Konstantin Khlebnikov <khlebnikov@yandex-team.ru> 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>
|