Skip to contentSkip to conversation

HTB is buggy?

LARTC Andy Furniss 1 participant 1 message Jul 28, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Stephen Hemminger

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc