aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2023-03-15 17:07:26 -0700
committerDaniel Borkmann <[email protected]>2023-03-16 18:12:59 +0100
commit226efec2b0efad60d4a6c4b2c3a8710dafc4dc21 (patch)
treec72275f24419236f372c703d59e33885d3839ba9 /include/linux/debugobjects.h
parented01385c0d78a025bdc72128b7aa7c3309cd5852 (diff)
selftests/bpf: Fix a fd leak in an error path in network_helpers.c
In __start_server, it leaks a fd when setsockopt(SO_REUSEPORT) fails. This patch fixes it. Fixes: eed92afdd14c ("bpf: selftest: Test batching and bpf_(get|set)sockopt in bpf tcp iter") Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions