summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/mmap.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2023-12-22 02:23:27 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2024-01-04 03:50:22 +0300
commitbdbca46d3f84a4455cd5c15a7483666218851549 (patch)
treed8a0d5f195e29edc68c8095a224b082f57ef2dfc /tools/testing/selftests/bpf/prog_tests/mmap.c
parentf1300467dd9f67293a7aae86fd26471520fac36d (diff)
downloadlinux-bdbca46d3f84a4455cd5c15a7483666218851549.tar.xz
bpf: sockmap, add tests for proto updates replace socket
Add test that replaces the same socket with itself. This exercises a corner case where old element and new element have the same posck. Test protocols: TCP, UDP, stream af_unix and dgram af_unix. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Link: https://lore.kernel.org/r/20231221232327.43678-6-john.fastabend@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/mmap.c')
0 files changed, 0 insertions, 0 deletions