patch: to avoid segfault vers 2
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
tc/q_prio.c +2 -0
@@ -123,5 +123,7 @@ prio_parse_opt, prio_print_opt, prio_print_xstats, + prio_parse_opt, + prio_print_opt };