aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-07 08:55:20 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-11-07 09:14:15 -0800
commitf91231eeeed752119f49eb6620cae44ec745a007 (patch)
tree59b6dc423bef1504e4fdb7be307cf1b8546aa4f2 /net/core/sock.c
parentselftests/bpf: Avoid duplicate btf__parse() call (diff)
downloadwireguard-linux-f91231eeeed752119f49eb6620cae44ec745a007.tar.xz
wireguard-linux-f91231eeeed752119f49eb6620cae44ec745a007.zip
selftests/bpf: Destroy XDP link correctly
bpf_link__detach() was confused with bpf_link__destroy() and leaves leaked FD in the process. Fix the problem. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com> Link: https://lore.kernel.org/bpf/20211107165521.9240-9-andrii@kernel.org
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions