From: Andy Furniss Date: Fri, 28 Jul 2006 21:57:26 +0000 Subject: [LARTC] Re: HTB is buggy? Message-Id: <44CA8846.3010909@andyfurniss.entadsl.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Stephen Hemminger wrote: > I believe there are some unresolved memory management issues with HTB. > It looks like deleting the qdisc is causing some use after free or > memory corruption problems. > > See: > http://bugzilla.kernel.org/show_bug.cgi?idf81 > > I don't use HTB so I have no idea if this a new or old problem. > Hmm he's doing crash (and oops) in command like tc filter del dev ethX protocol ip parent 1:0 prio 5 handle X:XX:XX u32 is that valid - I've always reccomended to del root qdisc and start again to change something. I don't know if it's documented anywhere - none of the man pages in iproute2 even mention del (OK remove is there) and tc-filters.8 is referenced but not there. It does say in tc.8 - Filters have a three part ID, which is only needed when using a hashed filter hierarchy, for which see tc-filters(8) so maybe it's just tc/kernel failing to give rtnetlink error - which is what I've seen before when trying to delete specific parts of trees. man tc-htb doesn't even mention tc filter anything. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc