]> 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)
commitba1f946d7a2a9359ba050dd9ca2d235127f92a23
treee9ccd6cea20c01bdbcfa418183639fc4baa4c578
parent23a58e74e0ccac5443820b563c77f96ce7377294
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