--- a/networking/tc.c +++ b/networking/tc.c @@ -231,6 +231,8 @@ static int cbq_parse_opt(int argc, char return 0; } #endif +/* CBQ was removed from the kernel headers in Linux 6.8 */ +#ifdef TCA_CBQ_MAX static int cbq_print_opt(struct rtattr *opt) { struct rtattr *tb[TCA_CBQ_MAX+1]; @@ -322,6 +324,12 @@ static int cbq_print_opt(struct rtattr * done: return 0; } +#else +static int cbq_print_opt(struct rtattr *opt UNUSED_PARAM) +{ + return 0; +} +#endif static FAST_FUNC int print_qdisc( const struct sockaddr_nl *who UNUSED_PARAM,