diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-07 08:55:20 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-07 09:14:15 -0800 |
commit | f91231eeeed752119f49eb6620cae44ec745a007 (patch) | |
tree | 59b6dc423bef1504e4fdb7be307cf1b8546aa4f2 /lib/test_overflow.c | |
parent | f92321d706a810b89a905e04658e38931c4bb0e0 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Hengqi Chen <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions