aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_qfq.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-09-11 13:11:12 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-13 05:28:05 +0900
commit829f2161f7057a511df7a41e52c5a43cbf5a49d7 (patch)
tree614d242526516ca6cbc7a3a4765a8ba4ca81879d /net/sched/sch_qfq.c
parentb89ea13784c385483ef3a47a992f92842171f5c1 (diff)
downloadkernel_samsung_smdk4412-829f2161f7057a511df7a41e52c5a43cbf5a49d7.zip
kernel_samsung_smdk4412-829f2161f7057a511df7a41e52c5a43cbf5a49d7.tar.gz
kernel_samsung_smdk4412-829f2161f7057a511df7a41e52c5a43cbf5a49d7.tar.bz2
net-sched: sch_cbq: avoid infinite loop
[ Upstream commit bdfc87f7d1e253e0a61e2fc6a75ea9d76f7fc03a ] Its possible to setup a bad cbq configuration leading to an infinite loop in cbq_classify() DEV_OUT=eth0 ICMP="match ip protocol 1 0xff" U32="protocol ip u32" DST="match ip dst" tc qdisc add dev $DEV_OUT root handle 1: cbq avpkt 1000 \ bandwidth 100mbit tc class add dev $DEV_OUT parent 1: classid 1:1 cbq \ rate 512kbit allot 1500 prio 5 bounded isolated tc filter add dev $DEV_OUT parent 1: prio 3 $U32 \ $ICMP $DST 192.168.3.234 flowid 1: Reported-by: Denys Fedoryschenko <denys@visp.net.lb> Tested-by: Denys Fedoryschenko <denys@visp.net.lb> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/sch_qfq.c')
0 files changed, 0 insertions, 0 deletions