Re: [PATCH] tc: fix build failure with Linux >= 6.8 kernel headers (CBQ removal)

Michael Tokarev via busybox <[email protected]>
Newsgroups gmane.linux.busybox
Message-ID <[email protected]>
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.

Thanks,

/mjt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.