Bug 15934

Summary: Busybox fails to build with linux kernels >= 6.8
Product: Busybox Reporter: Andreas Ziegler <br015>
Component: NetworkingAssignee: unassigned
Status: RESOLVED DUPLICATE    
Severity: normal CC: admwiggin+busyboxbugs, busybox-cvs, slyich
Priority: P5    
Version: 1.36.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Andreas Ziegler 2024-01-30 10:30:16 UTC
Linux kernel 6.8 removed a number of traffic control related symbols from include/uapi/linux/pkt_sched.h [1]. When using kernel 6.8 headers, compilation of tc.c fails with: 

networking/tc.c: In function ‘cbq_print_opt’:
networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this function); did you mean ‘TCA_CBS_MAX’?
  236 |         struct rtattr *tb[TCA_CBQ_MAX+1];
      |                           ^~~~~~~~~~~
      |                           TCA_CBS_MAX

Temporary workaround: remove tc from the build with: 

  # CONFIG_TC is not defined

[1] https://lore.kernel.org/all/20231223140154.1319084-1-jhs@mojatatu.com/T/
Comment 1 Tianon Gravi 2024-05-22 22:44:46 UTC
I think this might be a duplicate of https://bugs.busybox.net/show_bug.cgi?id=15931 (opened just a few hours earlier!) :)
Comment 2 Sergei Trofimovich 2024-05-22 22:47:24 UTC

*** This bug has been marked as a duplicate of bug 15931 ***