]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: remove ax25 and amateur radio (hamradio) subsystem
authorJakub Kicinski <kuba@kernel.org>
Tue, 21 Apr 2026 02:18:23 +0000 (19:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Apr 2026 17:24:02 +0000 (10:24 -0700)
commitdd8d4bc28ad7252610d8e79c1313a2d1e3499a51
tree03d4d2d8f273b59de5d49656920aec816836c213
parent4f10f1dfb235a28bd86cf0b00d86a59696ddbe5b
net: remove ax25 and amateur radio (hamradio) subsystem

Remove the amateur radio (AX.25, NET/ROM, ROSE) protocol implementation
and all associated hamradio device drivers from the kernel tree.
This set of protocols has long been a huge bug/syzbot magnet,
and since nobody stepped up to help us deal with the influx
of the AI-generated bug reports we need to move it out of tree
to protect our sanity.

The code is moved to an out-of-tree repo:
https://github.com/linux-netdev/mod-orphan
if it's cleaned up and reworked there we can accept it back.

Minimal stub headers are kept for include/net/ax25.h (AX25_P_IP,
AX25_ADDR_LEN, ax25_address) and include/net/rose.h (ROSE_ADDR_LEN)
so that the conditional integration code in arp.c and tun.c continues
to compile and work when the out-of-tree modules are loaded.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Carlos Bilbao <carlos.bilbao@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260421021824.1293976-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
93 files changed:
Documentation/.renames.txt
Documentation/admin-guide/kernel-parameters.txt
Documentation/networking/6pack.rst [deleted file]
Documentation/networking/ax25.rst [deleted file]
Documentation/networking/device_drivers/hamradio/baycom.rst [deleted file]
Documentation/networking/device_drivers/hamradio/index.rst [deleted file]
Documentation/networking/device_drivers/hamradio/z8530drv.rst [deleted file]
Documentation/networking/device_drivers/index.rst
Documentation/networking/index.rst
Documentation/staging/magic-number.rst
Documentation/translations/it_IT/staging/magic-number.rst
Documentation/translations/sp_SP/process/magic-number.rst
Documentation/translations/zh_CN/process/magic-number.rst
Documentation/translations/zh_TW/process/magic-number.rst
MAINTAINERS
arch/mips/configs/bcm47xx_defconfig
arch/mips/configs/bigsur_defconfig
arch/mips/configs/gpr_defconfig
arch/mips/configs/mtx1_defconfig
arch/mips/configs/rb532_defconfig
arch/mips/configs/rm200_defconfig
arch/mips/configs/rt305x_defconfig
arch/mips/configs/xway_defconfig
drivers/net/Makefile
drivers/net/hamradio/6pack.c [deleted file]
drivers/net/hamradio/Kconfig [deleted file]
drivers/net/hamradio/Makefile [deleted file]
drivers/net/hamradio/baycom_epp.c [deleted file]
drivers/net/hamradio/baycom_par.c [deleted file]
drivers/net/hamradio/baycom_ser_fdx.c [deleted file]
drivers/net/hamradio/baycom_ser_hdx.c [deleted file]
drivers/net/hamradio/bpqether.c [deleted file]
drivers/net/hamradio/hdlcdrv.c [deleted file]
drivers/net/hamradio/mkiss.c [deleted file]
drivers/net/hamradio/scc.c [deleted file]
drivers/net/hamradio/yam.c [deleted file]
drivers/net/hamradio/z8530.h [deleted file]
include/linux/hdlcdrv.h [deleted file]
include/linux/netdevice.h
include/linux/scc.h [deleted file]
include/linux/yam.h [deleted file]
include/net/ax25.h
include/net/netrom.h [deleted file]
include/net/rose.h
include/uapi/linux/baycom.h [deleted file]
include/uapi/linux/hdlcdrv.h [deleted file]
include/uapi/linux/netrom.h [deleted file]
include/uapi/linux/rose.h [deleted file]
include/uapi/linux/scc.h [deleted file]
net/Kconfig
net/Makefile
net/ax25/Kconfig [deleted file]
net/ax25/Makefile [deleted file]
net/ax25/af_ax25.c [deleted file]
net/ax25/ax25_addr.c [deleted file]
net/ax25/ax25_dev.c [deleted file]
net/ax25/ax25_ds_in.c [deleted file]
net/ax25/ax25_ds_subr.c [deleted file]
net/ax25/ax25_ds_timer.c [deleted file]
net/ax25/ax25_iface.c [deleted file]
net/ax25/ax25_in.c [deleted file]
net/ax25/ax25_ip.c [deleted file]
net/ax25/ax25_out.c [deleted file]
net/ax25/ax25_route.c [deleted file]
net/ax25/ax25_std_in.c [deleted file]
net/ax25/ax25_std_subr.c [deleted file]
net/ax25/ax25_std_timer.c [deleted file]
net/ax25/ax25_subr.c [deleted file]
net/ax25/ax25_timer.c [deleted file]
net/ax25/ax25_uid.c [deleted file]
net/ax25/sysctl_net_ax25.c [deleted file]
net/ipv4/arp.c
net/netrom/Makefile [deleted file]
net/netrom/af_netrom.c [deleted file]
net/netrom/nr_dev.c [deleted file]
net/netrom/nr_in.c [deleted file]
net/netrom/nr_loopback.c [deleted file]
net/netrom/nr_out.c [deleted file]
net/netrom/nr_route.c [deleted file]
net/netrom/nr_subr.c [deleted file]
net/netrom/nr_timer.c [deleted file]
net/netrom/sysctl_net_netrom.c [deleted file]
net/rose/Makefile [deleted file]
net/rose/af_rose.c [deleted file]
net/rose/rose_dev.c [deleted file]
net/rose/rose_in.c [deleted file]
net/rose/rose_link.c [deleted file]
net/rose/rose_loopback.c [deleted file]
net/rose/rose_out.c [deleted file]
net/rose/rose_route.c [deleted file]
net/rose/rose_subr.c [deleted file]
net/rose/rose_timer.c [deleted file]
net/rose/sysctl_net_rose.c [deleted file]