]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/bpf: Test pinning map with reused map fd
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 6 Oct 2020 02:13:45 +0000 (10:13 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 6 Oct 2020 18:10:20 +0000 (11:10 -0700)
commit756b0a0e86b90d5f1fc08786651f080434a77bf8
treee9ccd6cea20c01bdbcfa418183639fc4baa4c578
parent8c4a52ebe0baff4ccde895b357939aadf30321e8
selftest/bpf: Test pinning map with reused map fd

This add a test to make sure that we can still pin maps with
reused map fd.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201006021345.3817033-4-liuhangbin@gmail.com
tools/testing/selftests/bpf/prog_tests/pinning.c