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

From: Daniel Borkmann
Date: Fri Nov 13 2020 - 10:32:20 EST


On 11/13/20 12:51 PM, 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>

Applied & improved commit msg a bit, thanks!