linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test
@ 2022-06-20 10:49 Maxim Mikityanskiy
  2022-06-20 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Mikityanskiy @ 2022-06-20 10:49 UTC (permalink / raw)
  To: bpf, Shuah Khan, Alexei Starovoitov, netdev, linux-kselftest
  Cc: Daniel Borkmann, Andrii Nakryiko, Maxim Mikityanskiy, Alexei Starovoitov

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)

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
---
 tools/testing/selftests/bpf/config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 3b3edc0fc8a6..c05904d631ec 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -57,3 +57,9 @@ CONFIG_FPROBE=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_MPTCP=y
+CONFIG_NETFILTER_SYNPROXY=y
+CONFIG_NETFILTER_XT_TARGET_CT=y
+CONFIG_NETFILTER_XT_MATCH_STATE=y
+CONFIG_IP_NF_FILTER=y
+CONFIG_IP_NF_TARGET_SYNPROXY=y
+CONFIG_IP_NF_RAW=y
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test
  2022-06-20 10:49 [PATCH bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test Maxim Mikityanskiy
@ 2022-06-20 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-20 12:20 UTC (permalink / raw)
  To: Maxim Mikityanskiy
  Cc: bpf, shuah, ast, netdev, linux-kselftest, daniel, andrii,
	alexei.starovoitov

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Mon, 20 Jun 2022 13:49:39 +0300 you wrote:
> 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)
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test
    https://git.kernel.org/bpf/bpf-next/c/e068c0776b0b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-20 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 10:49 [PATCH bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test Maxim Mikityanskiy
2022-06-20 12:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).