Re: tc stack overflow

kuznet@ms2.inr.ac.ru
Tue, 8 Jul 2003 20:47:19 +0400 (MSD)


Hello!

> # tc qdisc add dev eth0 root handle 1: prio \
> for i in `seq 500` ; do tc qdisc add dev eth0 \
> parent $i:1 handle `expr $i + 1`: prio ; done ; \
> ping 1.2.3.4
>
> [replace eth0 by a device of your choice]

... or replace too complicated script with cp /dev/zero /dev/mem. :-)

> So, what do you think about the issue? Do you care?

I do not. Yes, it is real design mistake, recursion is always evil.
Maybe, it will be remade some day. But until that day it does not matter.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/