Eric Dumazet
829f2161f7
net-sched: sch_cbq: avoid infinite loop
[ Upstream commit bdfc87f7d1 ]
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>
2012-10-13 05:28:05 +09:00
..
2011-10-03 11:40:22 -07:00
2011-05-23 16:29:24 -04:00
2012-06-10 00:33:03 +09:00
2011-03-31 18:59:10 -07:00
2012-10-02 09:47:06 -07:00
2012-04-27 09:51:21 -07:00
2011-05-20 13:43:21 -07:00
2012-10-02 09:47:21 -07:00
2012-07-16 08:47:37 -07:00
2012-08-09 08:27:51 -07:00
2011-11-11 09:36:45 -08:00
2011-07-19 11:25:04 -07:00
2012-10-02 09:47:42 -07:00
2011-03-14 17:02:42 -07:00
2012-10-02 09:47:21 -07:00
2012-02-13 11:06:13 -08:00
2011-03-17 11:59:32 +11:00
2011-05-05 14:59:02 -07:00
2011-04-17 00:15:22 -07:00
2011-08-15 18:31:38 -07:00
2011-06-13 18:03:22 -04:00
2012-10-02 09:47:22 -07:00
2012-10-02 09:47:05 -07:00
2011-03-21 18:16:39 -07:00
2011-06-06 17:00:35 -07:00
2011-05-26 09:48:24 +02:00
2011-05-24 01:13:12 -04:00
2012-10-02 09:47:22 -07:00
2010-11-22 08:16:14 -08:00
2012-10-02 09:47:21 -07:00
2012-08-15 12:04:11 -07:00
2012-10-02 09:47:22 -07:00
2011-05-22 21:43:41 -07:00
2012-10-02 09:47:22 -07:00
2011-04-14 00:20:07 -07:00
2012-10-02 09:47:05 -07:00
2012-04-27 09:51:19 -07:00
2012-10-02 09:47:41 -07:00
2011-05-19 13:53:54 -04:00
2012-04-13 08:14:05 -07:00
2011-05-19 18:51:50 -04:00
2012-10-13 05:28:05 +09:00
2012-08-09 08:27:51 -07:00
2012-09-14 10:00:39 -07:00
2011-05-10 16:04:02 -04:00
2011-05-24 01:13:12 -04:00
2012-08-09 08:27:52 -07:00
2012-10-02 09:47:37 -07:00
2011-10-25 07:10:17 +02:00
2012-10-13 05:28:05 +09:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00
2011-03-07 12:50:52 -08:00
2010-10-15 15:53:27 +02:00
2012-10-02 09:47:22 -07:00