Skip to content

Commit d549854

Browse files
geliangtangMartin KaFai Lau
authored andcommitted
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>
1 parent 3157b7c commit d549854

File tree

1 file changed

+1
-0
lines changed
  • tools/testing/selftests/bpf

1 file changed

+1
-0
lines changed

tools/testing/selftests/bpf/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ CONFIG_USERFAULTFD=y
8484
CONFIG_VXLAN=y
8585
CONFIG_XDP_SOCKETS=y
8686
CONFIG_XFRM_INTERFACE=y
87+
CONFIG_VSOCKETS=y

0 commit comments

Comments
 (0)