Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Enable config options needed for xdp_synproxy test

This commit adds the kernel config options needed to run the recently
added xdp_synproxy test. Users without these options will hit errors
like this:

test_synproxy:FAIL:iptables -t raw -I PREROUTING -i tmp1 -p
tcp -m tcp --syn --dport 8080 -j CT --notrack unexpected error: 256
(errno 22)

Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220620104939.4094104-1-maximmi@nvidia.com

authored by

Maxim Mikityanskiy and committed by
Daniel Borkmann
e068c077 43312915

+6
+6
tools/testing/selftests/bpf/config
··· 57 57 CONFIG_IKCONFIG=y 58 58 CONFIG_IKCONFIG_PROC=y 59 59 CONFIG_MPTCP=y 60 + CONFIG_NETFILTER_SYNPROXY=y 61 + CONFIG_NETFILTER_XT_TARGET_CT=y 62 + CONFIG_NETFILTER_XT_MATCH_STATE=y 63 + CONFIG_IP_NF_FILTER=y 64 + CONFIG_IP_NF_TARGET_SYNPROXY=y 65 + CONFIG_IP_NF_RAW=y