[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120911.222131.2305298175633650636.davem@davemloft.net>
Date: Tue, 11 Sep 2012 22:21:31 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: denys@...p.net.lb, netdev@...r.kernel.org
Subject: Re: [PATCH] net-sched: sch_cbq: avoid infinite loop
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 12 Sep 2012 01:11:12 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...p.net.lb>
> Tested-by: Denys Fedoryschenko <denys@...p.net.lb>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists