Merge tag 'platform-drivers-x86-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / net / bpfilter / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
d2ba09c1
AS
2menuconfig BPFILTER
3 bool "BPF based packet filtering framework (BPFILTER)"
864e898b 4 depends on BPF && INET
d71fa5c9 5 select USERMODE_DRIVER
d2ba09c1
AS
6 help
7 This builds experimental bpfilter framework that is aiming to
8 provide netfilter compatible functionality via BPF
9
10if BPFILTER
11config BPFILTER_UMH
12 tristate "bpfilter kernel module with user mode helper"
9326e0f8
MY
13 depends on CC_CAN_LINK
14 depends on m || CC_CAN_LINK_STATIC
d2ba09c1
AS
15 default m
16 help
17 This builds bpfilter kernel module with embedded user mode helper
9f64fbdb 18
9326e0f8
MY
19 Note: To compile this as built-in, your toolchain must support
20 building static binaries, since rootfs isn't mounted at the time
21 when __init functions are called and do_execv won't be able to find
22 the elf interpreter.
d2ba09c1 23endif