aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-11-07 08:55:21 -0800
committerAlexei Starovoitov <[email protected]>2021-11-07 09:14:15 -0800
commit8c7a95520184b6677ca6075e12df9c208d57d088 (patch)
tree962f7846ac07f097a97c482b2ba6597835f235d5 /lib/test_overflow.c
parentf91231eeeed752119f49eb6620cae44ec745a007 (diff)
selftests/bpf: Fix bpf_object leak in skb_ctx selftest
skb_ctx selftest didn't close bpf_object implicitly allocated by bpf_prog_test_load() helper. Fix the problem by explicitly calling bpf_object__close() at the end of the test. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Reviewed-by: Hengqi Chen <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions