From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Vladychevski Date: Fri, 13 Jul 2001 01:58:12 +0000 Subject: [LARTC] patch: to avoid segfault vers 2 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------B3EB8411AC3E12A3AC2B67C7" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --------------B3EB8411AC3E12A3AC2B67C7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------B3EB8411AC3E12A3AC2B67C7 Content-Type: text/plain; charset=us-ascii; name="tc-nosegfault.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tc-nosegfault.patch" 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 }; --------------B3EB8411AC3E12A3AC2B67C7-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/