]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bpf/preload: Don't select USERMODE_DRIVER
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 21 Jul 2025 09:04:41 +0000 (11:04 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 26 Jul 2025 19:02:48 +0000 (21:02 +0200)
The usermode driver framework is not used anymore by the BPF
preload code.

Fixes: cb80ddc67152 ("bpf: Convert bpf_preload.ko to use light skeleton.")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/bpf/20250721-remove-usermode-driver-v1-1-0d0083334382@linutronix.de
kernel/bpf/preload/Kconfig

index c9d45c9d6918d1402dab634e280b56c5c929a858..f9b11d01c3b50d4e98a33c686b55015766d17902 100644 (file)
@@ -10,7 +10,6 @@ menuconfig BPF_PRELOAD
        # The dependency on !COMPILE_TEST prevents it from being enabled
        # in allmodconfig or allyesconfig configurations
        depends on !COMPILE_TEST
-       select USERMODE_DRIVER
        help
          This builds kernel module with several embedded BPF programs that are
          pinned into BPF FS mount point as human readable files that are