]> git.baikalelectronics.ru Git - kernel.git/commit
[NET_SCHED]: Fix prio/ingress classification logic error
authorPatrick McHardy <kaber@trash.net>
Tue, 31 Jul 2007 00:07:14 +0000 (17:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:18 +0000 (02:28 -0700)
commitaad4d97a71c2f81a7a1946ac199ef110eded0dbd
treea5897654a7a6ef6338ea15bab7d11b2315b4f19e
parent5de28211105aecd3045da236d6a7cb4417bb90f2
[NET_SCHED]: Fix prio/ingress classification logic error

Fix handling of empty or completely non-matching filter chains. In
that case -1 is returned and tcf_result is uninitialized, the
qdisc should fall back to default classification in that case.

Noticed by PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_ingress.c
net/sched/sch_prio.c