diff options
author | Geliang Tang <geliang.tang@suse.com> | 2023-10-05 15:21:51 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-10-05 21:41:07 -0700 |
commit | d549854bc58f05af9ab660b3461383eea623ff89 (patch) | |
tree | f539d2476befc87bbcd008087e456c233495b012 /tools/testing/selftests/bpf/config | |
parent | Merge branch 'selftest/bpf, riscv: Improved cross-building support' (diff) | |
download | wireguard-linux-d549854bc58f05af9ab660b3461383eea623ff89.tar.xz wireguard-linux-d549854bc58f05af9ab660b3461383eea623ff89.zip |
selftests/bpf: Enable CONFIG_VSOCKETS in config
CONFIG_VSOCKETS is required by BPF selftests, otherwise we get errors
like this:
./test_progs:socket_loopback_reuseport:386: socket:
Address family not supported by protocol
socket_loopback_reuseport:FAIL:386
./test_progs:vsock_unix_redir_connectible:1496:
vsock_socketpair_connectible() failed
vsock_unix_redir_connectible:FAIL:1496
So this patch enables it in tools/testing/selftests/bpf/config.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Link: https://lore.kernel.org/r/472e73d285db2ea59aca9bbb95eb5d4048327588.1696490003.git.geliang.tang@suse.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/config')
-rw-r--r-- | tools/testing/selftests/bpf/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index e41eb33b2704..02dd4409200e 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -84,3 +84,4 @@ CONFIG_USERFAULTFD=y CONFIG_VXLAN=y CONFIG_XDP_SOCKETS=y CONFIG_XFRM_INTERFACE=y +CONFIG_VSOCKETS=y |