aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
diff options
context:
space:
mode:
authorYucong Sun <[email protected]>2021-10-06 18:56:17 +0000
committerAndrii Nakryiko <[email protected]>2021-10-08 22:17:00 +0000
commit5db02dd7f09fdc32fa3866386784d383aca191d8 (patch)
treed4c646c5b0499e3f0009b859fa4d26db4fb08e76 /tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
parentselftests/bpf: Adding pid filtering for atomics test (diff)
downloadkernel-5db02dd7f09fdc32fa3866386784d383aca191d8.tar.gz
kernel-5db02dd7f09fdc32fa3866386784d383aca191d8.zip
selftests/bpf: Fix pid check in fexit_sleep test
bpf_get_current_pid_tgid() returns u64, whose upper 32 bits are the same as userspace getpid() return value. Signed-off-by: Yucong Sun <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c')
0 files changed, 0 insertions, 0 deletions