All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] patch: to avoid segfault vers 2
@ 2001-07-13  1:58 Nikolai Vladychevski
  0 siblings, 0 replies; only message in thread
From: Nikolai Vladychevski @ 2001-07-13  1:58 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

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

[-- Attachment #2: tc-nosegfault.patch --]
[-- Type: text/plain, Size: 282 bytes --]

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
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-13  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13  1:58 [LARTC] patch: to avoid segfault vers 2 Nikolai Vladychevski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.