[Cake] NLA_F_NESTED is missing

Toke Høiland-Jørgensen toke at toke.dk
Mon Nov 2 07:37:00 EST 2020


Dean Scarff <dos at scarff.id.au> writes:

>  Hi,
>
>  I've been happily running the out-of-tree sch_cake on my Raspberry Pi 
>  since 2015.  However, I recently upgraded my kernel (to 5.4.72 from 
>  Raspbian's raspberrypi-kernel 1.20201022-1), which comes with the 
>  sch_cake in mainline.  Now, when running:
>
>    sudo /sbin/tc qdisc add dev ppp0 root cake
>
>  I get the error:
>
>    Error: NLA_F_NESTED is missing.
>
>  I get this error with the sch_cake in mainline, and also with sch_cake 
>  built out-of-tree.  I also get the error with both Debian's iproute2 
>  5.9.0-1 (built myself via debian/rules) and "tc" from dtaht's tc-adv 
>  repo.
>
>  Any ideas on what this error means and how to fix it?

I just tried building a 5.4.72 kernel and couldn't reproduce this, so it
seems it's a fault with the raspberry pi kernel; I guess opening a bug
against that would be the way to go?

As for what's actually causing this, I couldn't find anything obvious
that touches this code in the qdisc layer; but I suppose it has
something to do with the core qdisc netlink parsing code?

-Toke


More information about the Cake mailing list