[Cake] [PATCH net-next] sch_cake: Fix tin order when set through skb->priority

David Miller davem at davemloft.net
Mon Jul 16 17:48:16 EDT 2018

From: Toke Høiland-Jørgensen <toke at toke.dk>
Date: Mon, 16 Jul 2018 16:45:09 +0200

> 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 at toke.dk>

Applied, thanks.

More information about the Cake mailing list