pkt_sched: fq: change classification of control packets
commit2abc2f070eb30ac8421554a5c32229f8332c6206
authorMaciej Żenczykowski <maze@google.com>
Thu, 14 Nov 2013 16:50:43 +0000 (14 08:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:16:07 +0000 (14 17:16 -0500)
tree3446c060181efebf51a78b05a85bccb99012a764
parentb54629e226d196e802abdd30c5e34f2a47cddcf2
pkt_sched: fq: change classification of control packets

Initial sch_fq implementation copied code from pfifo_fast to classify
a packet as a high prio packet.

This clashes with setups using PRIO with say 7 bands, as one of the
band could be incorrectly (mis)classified by FQ.

Packets would be queued in the 'internal' queue, and no pacing ever
happen for this special queue.

Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler")
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c