Re: [PATCH bpf] tools: bpftool: Add missing close before bpftool net attach exit

From: Quentin Monnet
Date: Mon Nov 09 2020 - 05:07:35 EST


On 09/11/2020 07:04, Wang Hai wrote:
> progfd is created by prog_parse_fd(), before 'bpftool net attach' exit,
> it should be closed.
>
> Fixes: 04949ccc273e ("tools: bpftool: add net attach command to attach XDP on interface")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>

Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>

Thanks!
Quentin