]> git.baikalelectronics.ru Git - kernel.git/commit
sch_htb: let skb->priority refer to non-leaf class
authorHarry Mason <harry.mason@smoothwall.net>
Fri, 17 Jan 2014 13:22:32 +0000 (13:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2014 01:39:48 +0000 (17:39 -0800)
commit24c4977d0879408dd34abf181712de8f1ef19d77
tree4c60d34ed4d40f7626c34ad7a935b544a4801d71
parent893c6583cb311fd3a6682b524e5bfbbe973bbbc8
sch_htb: let skb->priority refer to non-leaf class

If the class in skb->priority is not a leaf, apply filters from the
selected class, not the qdisc. This lets netfilter or user space
partially classify the packet.

Signed-off-by: Harry Mason <harry.mason@smoothwall.net>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c