[PATCH net-next 0/3] net: move the type 2 sockets out of tree

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-09-28 19:08:07
Also in
linux-mips, loongarch
LLC2 sockets are admin-only already. We have been getting a trickle
of LLM-driven fixes for these, even tho we don't know of any active
user. The code is so bad the LLM fixes just turn into a never ending
stream of revisions and follow ups as fixing one condition reveals
5 more bugs. Let's move this code out of tree.

The series itself is LLM generated, the LLM was also nice enough
to generates some tests and validate that the OOT module actually
works.

Jakub Kicinski (3):
  llc: move the type 2 sockets out of tree
  llc: strip the leftovers of the llc2 removal
  net: drop unused LLC-related includes

 net/llc/Kconfig                             |    7 -
 net/llc/Makefile                            |   10 +-
 include/linux/llc.h                         |    5 -
 include/net/llc.h                           |  108 +-
 include/net/llc_c_ac.h                      |  180 -
 include/net/llc_c_ev.h                      |  217 -
 include/net/llc_c_st.h                      |   46 -
 include/net/llc_conn.h                      |  114 -
 include/net/llc_if.h                        |   63 -
 include/net/llc_pdu.h                       |  379 +-
 include/net/llc_s_ac.h                      |   35 -
 include/net/llc_s_ev.h                      |   61 -
 include/net/llc_s_st.h                      |   32 -
 include/net/llc_sap.h                       |   26 -
 net/802/garp.c                              |    4 +-
 net/802/psnap.c                             |    2 +-
 net/bridge/br.c                             |    2 -
 net/bridge/br_stp_bpdu.c                    |    3 +-
 net/llc/af_llc.c                            | 1304 -----
 net/llc/llc_c_ac.c                          | 1448 ------
 net/llc/llc_c_ev.c                          |  742 ---
 net/llc/llc_c_st.c                          | 4940 -------------------
 net/llc/llc_conn.c                          | 1025 ----
 net/llc/llc_core.c                          |   28 +-
 net/llc/llc_if.c                            |  151 -
 net/llc/llc_input.c                         |  128 +-
 net/llc/llc_output.c                        |    3 +-
 net/llc/llc_pdu.c                           |  366 --
 net/llc/llc_proc.c                          |  245 -
 net/llc/llc_s_ac.c                          |  220 -
 net/llc/llc_s_ev.c                          |  109 -
 net/llc/llc_s_st.c                          |  177 -
 net/llc/llc_sap.c                           |  437 --
 net/llc/llc_station.c                       |  120 -
 net/llc/sysctl_net_llc.c                    |   71 -
 net/openvswitch/flow.c                      |    1 -
 net/openvswitch/flow_netlink.c              |    2 -
 net/openvswitch/flow_table.c                |    2 -
 net/openvswitch/vport-netdev.c              |    1 -
 arch/loongarch/configs/loongson32_defconfig |    1 -
 arch/loongarch/configs/loongson64_defconfig |    1 -
 arch/mips/configs/gpr_defconfig             |    1 -
 arch/mips/configs/mtx1_defconfig            |    1 -
 arch/mips/configs/rb532_defconfig           |    1 -
 arch/parisc/configs/generic-32bit_defconfig |    1 -
 45 files changed, 33 insertions(+), 12787 deletions(-)
 delete mode 100644 include/net/llc_c_ac.h
 delete mode 100644 include/net/llc_c_ev.h
 delete mode 100644 include/net/llc_c_st.h
 delete mode 100644 include/net/llc_conn.h
 delete mode 100644 include/net/llc_if.h
 delete mode 100644 include/net/llc_s_ac.h
 delete mode 100644 include/net/llc_s_ev.h
 delete mode 100644 include/net/llc_s_st.h
 delete mode 100644 include/net/llc_sap.h
 delete mode 100644 net/llc/af_llc.c
 delete mode 100644 net/llc/llc_c_ac.c
 delete mode 100644 net/llc/llc_c_ev.c
 delete mode 100644 net/llc/llc_c_st.c
 delete mode 100644 net/llc/llc_conn.c
 delete mode 100644 net/llc/llc_if.c
 delete mode 100644 net/llc/llc_pdu.c
 delete mode 100644 net/llc/llc_proc.c
 delete mode 100644 net/llc/llc_s_ac.c
 delete mode 100644 net/llc/llc_s_ev.c
 delete mode 100644 net/llc/llc_s_st.c
 delete mode 100644 net/llc/llc_sap.c
 delete mode 100644 net/llc/llc_station.c
 delete mode 100644 net/llc/sysctl_net_llc.c

-- 
2.55.0
Thread (8 messages) 8 messages, 5 authors, last reply 2026-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help