Re: [PATCH] tc: fix build failure with Linux >= 6.8 kernel headers (CBQ removal)
Guillermo Rodriguez Garcia via busybox <[email protected]>
| Newsgroups | gmane.linux.busybox |
|---|---|
| Message-ID | <CABDcavaM_k1NVY-vAXMLWvoALzMOU4Tpa=iYcWb+bTqQSUmiHA@mail.gmail.com> |
El mar, 18 ago 2026 a las 11:55, Michael Tokarev via busybox (<[email protected]>) escribió: > > On 8/17/26 00:55, tito via busybox wrote: > > > as far as I understand with the proposed fix the > > tc applet will only work with the kernel it is compiled with, > > if you use a busybox tc applet compiled with kernel 6.12.103 > > it will not work with 6.7.0 and cbq , this could be seen as a shortcoming. > > Please take a look at my proposed patch which fixes building > > busybox and allows use with all kernels at the expense > > of a little size increase. > > If you build your busybox with recent kernel headers (it has nothing > to do with the kernel, only kernel headers actually matters), - it is > unlikely you'll run it on outdated kernels. And even on kernel 6.7, > this subsystem were deprecated already. So personally, I see no reason > to keep building something when it's clear it wont be used. In embedded systems, where busybox is widely used, it is actually quite common for the toolchain, including the kernel headers it provides, to be older than the kernel running on the target. Toolchains tend to have a much longer lifetime and are not necessarily updated together with the target kernel. I think it makes sense for busybox built against older kernel headers to remain usable with newer kernels, and vice-versa where possible. Best regards, Guillermo Rodriguez Garcia [email protected] _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox