diff options
Diffstat (limited to 'net/bpfilter/Kconfig')
-rw-r--r-- | net/bpfilter/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig index fed9290e3b41..3d4a21462458 100644 --- a/net/bpfilter/Kconfig +++ b/net/bpfilter/Kconfig @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig BPFILTER bool "BPF based packet filtering framework (BPFILTER)" - depends on NET && BPF && INET + depends on BPF && INET + select USERMODE_DRIVER help This builds experimental bpfilter framework that is aiming to provide netfilter compatible functionality via BPF @@ -10,7 +11,13 @@ if BPFILTER config BPFILTER_UMH tristate "bpfilter kernel module with user mode helper" depends on CC_CAN_LINK + depends on m || CC_CAN_LINK_STATIC default m help This builds bpfilter kernel module with embedded user mode helper + + Note: To compile this as built-in, your toolchain must support + building static binaries, since rootfs isn't mounted at the time + when __init functions are called and do_execv won't be able to find + the elf interpreter. endif |