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)
commit8d34ce10c59b40e0ce2685341c4e93416f505e45
treeb74018d5a5aaab268f1e236eafade3730fdf89eb
parentb86783587b3d1d552326d955acee37eac48800f1
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