| 1 |
Originscip-debian debian busybox 1:1.38.0-3 busybox/patches/`busybox-1.36.1-no-cbq.patch`#Origin.: fedora |
| 2 |
Datescip-debian debian busybox 1:1.38.0-3 busybox/patches/`busybox-1.36.1-no-cbq.patch`#Date.: Tue, 16 Jul 2024 07:46:38 +0000 |
| 3 |
Forwardedscip-debian debian busybox 1:1.38.0-3 busybox/patches/`busybox-1.36.1-no-cbq.patch`#Forwarded.: yes, https://bugs.busybox.net/show_bug.cgi?id=15931 |
| 4 |
|
| 5 |
diff -up busybox-1.36.1/networking/tc.cscip-debian debian busybox 1:1.38.0-3 busybox/upstream/`busybox-1.36.1/networking/tc.c`:.no-cbqscip-debian debian busybox 1:1.38.0-3 busybox/upstream/`busybox-1.36.1/networking/tc.c.no-cbq`: busybox-1.36.1/networking/tc.c |
| 6 |
--- busybox-1.36.1/networking/tc.c.no-cbq 2024-01-29 10:24:09.135082923 -0500 |
| 7 |
+++ busybox-1.36.1/networking/tc.c 2024-01-29 10:28:12.009502552 -0500 |
| 8 |
@@ -31,7 +31,7 @@ |
| 9 |
//usage: "qdisc [handle QHANDLE] [root|"IF_FEATURE_TC_INGRESS("ingress|")"parent CLASSID]\n" |
| 10 |
/* //usage: "[estimator INTERVAL TIME_CONSTANT]\n" */ |
| 11 |
//usage: " [[QDISC_KIND] [help|OPTIONS]]\n" |
| 12 |
|
| 13 |
+//usage: " QDISC_KIND := [p|b]fifo|tbf|prio|red|etc.\n" |
| 14 |
//usage: "qdisc show [dev STRING]"IF_FEATURE_TC_INGRESS(" [ingress]")"\n" |
| 15 |
//usage: "class [classid CLASSID] [root|parent CLASSID]\n" |
| 16 |
//usage: " [[QDISC_KIND] [help|OPTIONS] ]\n" |
| 17 |
@@ -230,7 +230,7 @@ static int cbq_parse_opt(int argc, char |
| 18 |
{ |
| 19 |
return 0; |
| 20 |
} |
| 21 |
|
| 22 |
+ |
| 23 |
static int cbq_print_opt(struct rtattr *opt) |
| 24 |
{ |
| 25 |
struct rtattr *tb[TCA_CBQ_MAX+1]; |
| 26 |
@@ -322,6 +322,7 @@ static int cbq_print_opt(struct rtattr * |
| 27 |
done: |
| 28 |
return 0; |
| 29 |
} |
| 30 |
+#endif |
| 31 |
|
| 32 |
static FAST_FUNC int print_qdisc( |
| 33 |
const struct sockaddr_nl *who UNUSED_PARAM, |
| 34 |
@@ -373,7 +374,8 @@ static FAST_FUNC int print_qdisc( |
| 35 |
if (qqq == 0) { /* pfifo_fast aka prio */ |
| 36 |
prio_print_opt(tb[TCA_OPTIONS]); |
| 37 |
} else if (qqq == 1) { /* class based queuing */ |
| 38 |
|
| 39 |
+ /* cbq_print_opt(tb[TCA_OPTIONS]); */ |
| 40 |
+ printf("cbq not supported"); |
| 41 |
} else { |
| 42 |
/* don't know how to print options for this qdisc */ |
| 43 |
printf("(options for %s)", name); |
| 44 |
@@ -444,7 +446,8 @@ static FAST_FUNC int print_class( |
| 45 |
/* nothing. */ /*prio_print_opt(tb[TCA_OPTIONS]);*/ |
| 46 |
} else if (qqq == 1) { /* class based queuing */ |
| 47 |
/* cbq_print_copt() is identical to cbq_print_opt(). */ |
| 48 |
|
| 49 |
+ /* cbq_print_opt(tb[TCA_OPTIONS]); */ |
| 50 |
+ printf("cbq not supported"); |
| 51 |
} else { |
| 52 |
/* don't know how to print options for this class */ |
| 53 |
printf("(options for %s)", name); |