]> git.baikalelectronics.ru Git - kernel.git/commit
sch_sfq: fix sfq_enqueue()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 29 Jul 2011 19:22:42 +0000 (19:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2011 09:27:21 +0000 (02:27 -0700)
commit6ec2386432adfb5544334b3bd03ee829f4634982
treec69e0943a29ceb588c8ef8af19130436373d4f1e
parentc65069277bfa7f6d31f445e35a04afa2add4622b
sch_sfq: fix sfq_enqueue()

commit 2a7fe0427144 (sch_sfq: avoid giving spurious NET_XMIT_CN signals)
forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a
packet (from another flow) was dropped, leading to various problems.

With help from Michal Soltys and Michal Pokrywka, who did a bisection.

Bugzilla ref: https://bugzilla.kernel.org/show_bug.cgi?id=39372
Debian ref: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631945

Reported-by: Lucas Bocchi <lucas.bocchi@gmail.com>
Reported-and-bisected-by: Michal Pokrywka <wolfmoon@o2.pl>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Michal Soltys <soltys@ziu.info>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c