Bug in HTB prio

spidla spidla at spidlas.cz
Fri Aug 12 05:31:45 EDT 2011


Hi,
I think I have just found a bug in HTB class prio setting. In file 
lib/route/qdisc/htb.c in function htb_class_msg_fill there is an if 
block, which sets the prio parameter into the opts object. But right 
after this section there is a memset function which actually clears the 
opts object and the prio setting is discarded. The resolution of this 
bug is to move the memset function before the if block. Everything is 
fine then.

Richard Cesar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20110812/786bfb04/attachment.html>


More information about the libnl mailing list