]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Honour the sotype of af_unix redir tests
authorMichal Luczaj <mhal@rbox.co>
Wed, 31 Jul 2024 10:01:29 +0000 (12:01 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 19 Aug 2024 23:43:40 +0000 (16:43 -0700)
commitb3b15b7a1e8de773c82f81c97904b51d4e919faa
tree27d154e6969c19376686085812673ba9c66f6d28
parent4e3dec2295b1fdf5ea5c40a8195bc13de7cffdeb
selftests/bpf: Honour the sotype of af_unix redir tests

Do actually test the sotype as specified by the caller.

This picks up after commit 75e0e27db6cf ("selftest/bpf: Change udp to inet
in some function names").

Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Tested-by: Jakub Sitnicki <jakub@cloudflare.com>
Suggested-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20240731-selftest-sockmap-fixes-v2-4-08a0c73abed2@rbox.co
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c