I just made another patch, to avoid segfault when listing classes with
the command:
tc class show dev eth0
when PRIO queue discipline is used.
cd iproute2
patch -p1 < tc-nosegfault.patch
This patch is more correct than the last I posted, it will help people
who uses prio qdisc and cbq at the same time to prioritize traffic.
Nikolai
diff -urN tc/q_prio.c tc/q_prio.c
--- iproute2-original/tc/q_prio.c Sun Apr 16 13:42:54 2000
+++ iproute2/tc/q_prio.c Thu Jul 12 19:47:52 2001
@@ -123,5 +123,7 @@
prio_parse_opt,
prio_print_opt,
prio_print_xstats,
+ prio_parse_opt,
+ prio_print_opt
};