diff options
author | Hengqi Chen <hengqi.chen@gmail.com> | 2022-03-19 11:05:33 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-03-21 15:36:52 +0100 |
commit | d0f325c34c2fbe15f6774f2b628224280b571ae9 (patch) | |
tree | 2e6bfcf60c1bc849dc47e8fe622f756251c8d392 /arch/arm/net/bpf_jit_32.c | |
parent | bpftool: Fix print error when show bpf map (diff) | |
download | linux-dev-d0f325c34c2fbe15f6774f2b628224280b571ae9.tar.xz linux-dev-d0f325c34c2fbe15f6774f2b628224280b571ae9.zip |
libbpf: Close fd in bpf_object__reuse_map
pin_fd is dup-ed and assigned in bpf_map__reuse_fd. Close it
in bpf_object__reuse_map after reuse.
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220319030533.3132250-1-hengqi.chen@gmail.com
Diffstat (limited to 'arch/arm/net/bpf_jit_32.c')
0 files changed, 0 insertions, 0 deletions