diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2018-07-16 17:45:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-17 00:47:45 +0300 |
commit | 301f935be9e09a1bf188bd8262a4db0aeeac2b50 (patch) | |
tree | ca06d86900743f3a81214b3d245dc96582441f70 /kernel/power/qos.c | |
parent | 1eb94d441f1c6aff4a594662d11c183520ffe4f3 (diff) | |
download | linux-301f935be9e09a1bf188bd8262a4db0aeeac2b50.tar.xz |
sch_cake: Fix tin order when set through skb->priority
In diffserv mode, CAKE stores tins in a different order internally than
the logical order exposed to userspace. The order remapping was missing
in the handling of 'tc filter' priority mappings through skb->priority,
resulting in bulk and best effort mappings being reversed relative to
how they are displayed.
Fix this by adding the missing mapping when reading skb->priority.
Fixes: 83f8fd69af4f ("sch_cake: Add DiffServ handling")
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/power/qos.c')
0 files changed, 0 insertions, 0 deletions