]> 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)
commit8e50fe4b7953b6dea873937a90f9df6205f32bcd
treeb74018d5a5aaab268f1e236eafade3730fdf89eb
parentd30519943187b933de0ebb75b7c4da2275030119
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