Re: [PATCH] tc: fix build failure with Linux >= 6.8 kernel headers (CBQ removal)
Nicolas Cavallari via busybox <[email protected]>
| Newsgroups | gmane.linux.busybox |
|---|---|
| Message-ID | <[email protected]> |
Le 20/08/2026 à 22:52, tito via busybox a écrit : > This really is to fix busybox __NOT__ building against new headers. > There were patches proposed on the list to fix this > and more on the internet. But in the end there are not > so many solutions: > > 1) we don't care about older kernels and keeping existing functionality > than we rip out the offending code (in iproute2 tc > cbq_print_opt was removed in version 6.6) or hide it > behind #if 0 > > 2) we preserve the offending code and make sure it is compiled > to prevent bitrot. > > 3) we hide it behind a CONFIG_TC_CBQ You should keep in mind that the kernel removed those for a reason: nobody uses them anymore and the modern alternatives (fq_codel in 2012, cake in 2018) are vastly superior and their default settings are better than a finetuned cbq. If you compile your own kernel then you can just set them as the default scheduler and so you do not even need tc. And those who need tc for more than just "tc qdisc replace dev eth0 root fq_codel" will not be satisfied with the limited busybox version. _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox