diff options
author | 2021-11-07 08:55:19 -0800 | |
---|---|---|
committer | 2021-11-07 09:14:15 -0800 | |
commit | f92321d706a810b89a905e04658e38931c4bb0e0 (patch) | |
tree | 4791ebf0c9dd5a2cdf557173bd0b6858d9c55c59 /net/core/sock.c | |
parent | selftests/bpf: Clean up btf and btf_dump in dump_datasec test (diff) | |
download | wireguard-linux-f92321d706a810b89a905e04658e38931c4bb0e0.tar.xz wireguard-linux-f92321d706a810b89a905e04658e38931c4bb0e0.zip |
selftests/bpf: Avoid duplicate btf__parse() call
btf__parse() is repeated after successful setup, leaving the first
instance leaked. Remove redundant and premature call.
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-8-andrii@kernel.org
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions