aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-06-20 14:42:46 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-21 17:07:13 -0400
commitbfee71fb7376081349117fdc89f685a9e14a58c2 (patch)
treef8f65c36f80791edb98c219fa98f24c904d28741 /net/lapb/lapb_in.c
parent957f9a13df6c70aac31a1dade5e417c286d6d258 (diff)
tools: bpftool: remember to close the libbpf object after prog load
Remembering to close all descriptors and free memory may not seem important in a user space tool like bpftool, but if we were to run in batch mode the consumed resources start to add up quickly. Make sure program load closes the libbpf object (which unloads and frees it). Fixes: 49a086c201a9 ("bpftool: implement prog load command") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions