summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ah4.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-04-28 17:27:38 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-04-28 17:35:03 -0700
commit2d39d7c56f115148b05d1d8c6b8698a5730c8b53 (patch)
tree2543255be722f52abf7e2cde02c6200a4e102ff2 /net/ipv4/ah4.c
parent41017e56af6cf99122c86655f60fe4e1b75ecf48 (diff)
downloadlinux-2d39d7c56f115148b05d1d8c6b8698a5730c8b53.tar.bz2
libbpf: Refactor map creation logic and fix cleanup leak
Factor out map creation and destruction logic to simplify code and especially error handling. Also fix map FD leak in case of partially successful map creation during bpf_object load operation. Fixes: 57a00f41644f ("libbpf: Add auto-pinning of maps when loading BPF objects") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/bpf/20200429002739.48006-3-andriin@fb.com
Diffstat (limited to 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions