-
由 Wang Hai 提交于
progfd is created by prog_parse_fd() in do_attach() and before the latter returns in case of success, the file descriptor should be closed. Fixes: 04949ccc ("tools: bpftool: add net attach command to attach XDP on interface") Signed-off-by: NWang Hai <wanghai38@huawei.com> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20201113115152.53178-1-wanghai38@huawei.com
50431b45