diff options
author | John Fastabend <john.fastabend@gmail.com> | 2021-07-20 11:48:32 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-07-20 13:18:51 -0700 |
commit | c39aa21599748f3845a47645f482d94099b11460 (patch) | |
tree | 1e7d34c90b3dc00fe529a9a1027b3683adcc05a4 /tools/lib/bpf/bpf_helpers.h | |
parent | 08f71a1e39a1f07a464ac782d9b612d6a74c7015 (diff) |
bpf, selftests: Fix test_maps now that sockmap supports UDP
UDP socket support was added recently so testing UDP insert failure is no
longer correct and causes test_maps failure. The fix is easy though, we
simply need to test that UDP is correctly added instead of blocked.
Fixes: 122e6c79efe1c ("sock_map: Update sock type checks for UDP")
Reported-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210720184832.452430-1-john.fastabend@gmail.com
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions