Skip to content

Commit bd65660

Browse files
dvdgomezPlaidCat
authored andcommitted
net/sched: Retire tcindex classifier
jira: ROC-3197 cve: CVE-2023-1829 commit: 8c710f7 upstream-diff: In our kernel code we had deleted include/net/tc_wrapper.h but this patch adds it back in which we ignore. It also removes net/sched/cls_tcindex.c. The tcindex classifier has served us well for about a quarter of a century but has not been getting much TLC due to lack of known users. Most recently it has become easy prey to syzkaller. For this reason, we are retiring it. Signed-off-by: Jamal Hadi Salim <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> (cherry picked from commit 8c710f7) Signed-off-by: David Gomez <[email protected]> Signed-off-by: Jonathan Maple <[email protected]>
1 parent 0c0dea3 commit bd65660

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

net/sched/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -502,17 +502,6 @@ config NET_CLS_BASIC
502502
To compile this code as a module, choose M here: the
503503
module will be called cls_basic.
504504

505-
config NET_CLS_TCINDEX
506-
tristate "Traffic-Control Index (TCINDEX)"
507-
select NET_CLS
508-
help
509-
Say Y here if you want to be able to classify packets based on
510-
traffic control indices. You will want this feature if you want
511-
to implement Differentiated Services together with DSMARK.
512-
513-
To compile this code as a module, choose M here: the
514-
module will be called cls_tcindex.
515-
516505
config NET_CLS_ROUTE4
517506
tristate "Routing decision (ROUTE)"
518507
depends on INET

net/sched/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ obj-$(CONFIG_NET_CLS_U32) += cls_u32.o
7070
obj-$(CONFIG_NET_CLS_ROUTE4) += cls_route.o
7171
obj-$(CONFIG_NET_CLS_FW) += cls_fw.o
7272
obj-$(CONFIG_NET_CLS_RSVP) += cls_rsvp.o
73-
obj-$(CONFIG_NET_CLS_TCINDEX) += cls_tcindex.o
7473
obj-$(CONFIG_NET_CLS_RSVP6) += cls_rsvp6.o
7574
obj-$(CONFIG_NET_CLS_BASIC) += cls_basic.o
7675
obj-$(CONFIG_NET_CLS_FLOW) += cls_flow.o

0 commit comments

Comments
 (0)