]> git.baikalelectronics.ru Git - kernel.git/commit
pkt_sched: fq: qdisc dismantle fixes
authorEric Dumazet <edumazet@google.com>
Fri, 27 Sep 2013 21:20:01 +0000 (14:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Sep 2013 19:51:23 +0000 (15:51 -0400)
commit460fb801dda80ecc8626ea3e57144ab071758f22
treeb74018d5a5aaab268f1e236eafade3730fdf89eb
parent4f3c06d86c4c58c0d5825a9dc3769e0e156562b2
pkt_sched: fq: qdisc dismantle fixes

fq_reset() should drops all packets in queue, including
throttled flows.

This patch moves code from fq_destroy() to fq_reset()
to do the cleaning.

fq_change() must stop calling fq_dequeue() if all remaining
packets are from throttled flows.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c