]> git.ipfire.org Git - thirdparty/linux.git/commit
bpfilter: remove bpfilter
authorQuentin Deslandes <qde@naccy.de>
Tue, 26 Dec 2023 13:07:42 +0000 (14:07 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 4 Jan 2024 18:23:10 +0000 (10:23 -0800)
commit98e20e5e13d2811898921f999288be7151a11954
tree194da196f85df00ebcc907347627265ea1fa2d72
parent9ddf872b47e3ac8f27dbfc4a4737a976c7588de6
bpfilter: remove bpfilter

bpfilter was supposed to convert iptables filtering rules into
BPF programs on the fly, from the kernel, through a usermode
helper. The base code for the UMH was introduced in 2018, and
couple of attempts (2, 3) tried to introduce the BPF program
generate features but were abandoned.

bpfilter now sits in a kernel tree unused and unusable, occasionally
causing confusion amongst Linux users (4, 5).

As bpfilter is now developed in a dedicated repository on GitHub (6),
it was suggested a couple of times this year (LSFMM/BPF 2023,
LPC 2023) to remove the deprecated kernel part of the project. This
is the purpose of this patch.

[1]: https://lore.kernel.org/lkml/20180522022230.2492505-1-ast@kernel.org/
[2]: https://lore.kernel.org/bpf/20210829183608.2297877-1-me@ubique.spb.ru/#t
[3]: https://lore.kernel.org/lkml/20221224000402.476079-1-qde@naccy.de/
[4]: https://dxuuu.xyz/bpfilter.html
[5]: https://github.com/linuxkit/linuxkit/pull/3904
[6]: https://github.com/facebook/bpfilter

Signed-off-by: Quentin Deslandes <qde@naccy.de>
Link: https://lore.kernel.org/r/20231226130745.465988-1-qde@naccy.de
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
21 files changed:
arch/loongarch/configs/loongson3_defconfig
include/linux/bpfilter.h [deleted file]
include/uapi/linux/bpfilter.h [deleted file]
net/Kconfig
net/Makefile
net/bpfilter/.gitignore [deleted file]
net/bpfilter/Kconfig [deleted file]
net/bpfilter/Makefile [deleted file]
net/bpfilter/bpfilter_kern.c [deleted file]
net/bpfilter/bpfilter_umh_blob.S [deleted file]
net/bpfilter/main.c [deleted file]
net/bpfilter/msgfmt.h [deleted file]
net/ipv4/Makefile
net/ipv4/bpfilter/Makefile [deleted file]
net/ipv4/bpfilter/sockopt.c [deleted file]
net/ipv4/ip_sockglue.c
tools/bpf/bpftool/feature.c
tools/testing/selftests/bpf/config.aarch64
tools/testing/selftests/bpf/config.s390x
tools/testing/selftests/bpf/config.x86_64
tools/testing/selftests/hid/config