[bug?] bug in the htb netlink messages ?
Thomas Graf
tgraf at infradead.org
Tue Feb 21 18:00:15 EST 2012
On Tue, Feb 21, 2012 at 06:01:16PM +0100, Fabrice HOBAYA wrote:
> Actually the nl_object_dump() I've reported was before I send it to
> the kernel (via rtnl_class_add()).
>
> So before the sending (due to previous messages):
>
> class htb dev (null) id 2:700 parent 2:50 rate 1.83KiB/s (15Kbit)
> log 2147483648
> ceil 1.83KiB/s (15Kbit) log 2147483648 prio 0
>
> and after the sending:
>
> class htb dev (null) id 2:700 parent 2:50 rate 1.83KiB/s (15Kbit) log 8
> ceil 1.83KiB/s (15Kbit) log 8 prio 0
>
> Seems like the kernel expects something different ? Right ? What can I do ?
Agreed, what we have to do here is compare the htb rate calculation found
in iproute2 with the rate calculation of libnl. This used to work so it
must have been broken by something.
More information about the libnl
mailing list