diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-25 12:48:15 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-25 12:48:15 +0800 |
| commit | 0b386ca2ee22bb0ed2d60c0a358b67cddd4420df (patch) | |
| tree | 8777068bcb1db7627ad60037b94af9a566cd03a1 /repos/core/busybox/kernel-6.8-tca.patch | |
| parent | 3db891211c9380fde90c770a1f9e089edb826d0c (diff) | |
| download | alicelinux-0b386ca2ee22bb0ed2d60c0a358b67cddd4420df.tar.gz alicelinux-0b386ca2ee22bb0ed2d60c0a358b67cddd4420df.zip | |
busybox: updated to 1.37.0
Diffstat (limited to 'repos/core/busybox/kernel-6.8-tca.patch')
| -rw-r--r-- | repos/core/busybox/kernel-6.8-tca.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/repos/core/busybox/kernel-6.8-tca.patch b/repos/core/busybox/kernel-6.8-tca.patch new file mode 100644 index 00000000..b040e7bf --- /dev/null +++ b/repos/core/busybox/kernel-6.8-tca.patch @@ -0,0 +1,43 @@ +diff --git a/networking/tc.c b/networking/tc.c +index 3a79fd2..3020bfb 100644 +--- a/networking/tc.c ++++ b/networking/tc.c +@@ -231,6 +231,7 @@ static int cbq_parse_opt(int argc, char **argv, struct nlmsghdr *n) + return 0; + } + #endif ++#ifdef TCA_CBQ_MAX + static int cbq_print_opt(struct rtattr *opt) + { + struct rtattr *tb[TCA_CBQ_MAX+1]; +@@ -322,6 +323,7 @@ static int cbq_print_opt(struct rtattr *opt) + done: + return 0; + } ++#endif + + static FAST_FUNC int print_qdisc( + const struct sockaddr_nl *who UNUSED_PARAM, +@@ -372,8 +374,10 @@ static FAST_FUNC int print_qdisc( + int qqq = index_in_strings(_q_, name); + if (qqq == 0) { /* pfifo_fast aka prio */ + prio_print_opt(tb[TCA_OPTIONS]); ++#ifdef TCA_CBQ_MAX + } else if (qqq == 1) { /* class based queuing */ + cbq_print_opt(tb[TCA_OPTIONS]); ++#endif + } else { + /* don't know how to print options for this qdisc */ + printf("(options for %s)", name); +@@ -442,9 +446,11 @@ static FAST_FUNC int print_class( + int qqq = index_in_strings(_q_, name); + if (qqq == 0) { /* pfifo_fast aka prio */ + /* nothing. */ /*prio_print_opt(tb[TCA_OPTIONS]);*/ ++#ifdef TCA_CBQ_MAX + } else if (qqq == 1) { /* class based queuing */ + /* cbq_print_copt() is identical to cbq_print_opt(). */ + cbq_print_opt(tb[TCA_OPTIONS]); ++#endif + } else { + /* don't know how to print options for this class */ + printf("(options for %s)", name); |