Skip to contentSkip to conversation

patch: to avoid segfault vers 2

LARTC Nikolai Vladychevski 1 participant 1 message Jul 13, 2001

lore
Share & tools
lore
#0 lore raw

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
diff -urN tc/q_prio.c tc/q_prio.c
@@ -123,5 +123,7 @@
 	prio_parse_opt,
 	prio_print_opt,
 	prio_print_xstats,
+        prio_parse_opt,         
+        prio_print_opt
 };