All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolai Vladychevski <niko@isl.net.mx>
To: lartc@vger.kernel.org
Subject: [LARTC] patch: to avoid segfault vers 2
Date: Fri, 13 Jul 2001 01:58:12 +0000	[thread overview]
Message-ID: <marc-lartc-99498938616697@msgid-missing> (raw)

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

                 reply	other threads:[~2001-07-13  1:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-99498938616697@msgid-missing \
    --to=niko@isl.net.mx \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.