Re: [PATCH bpf-next 2/2] selftests/bpf: Add test for connect() racing sockmap update and signal
From: Alexei Starovoitov
Date: Tue Jan 27 2026 - 14:02:53 EST
On Fri, Jan 23, 2026 at 8:16 AM Michal Luczaj <mhal@xxxxxxx> wrote:
>
> Attempt to trigger warnings/crashes by racing connect() against sockmap
> updates and signals.
>
> Follow-up to the discussion regarding af_vsock connect():
> https://lore.kernel.org/netdev/20250311155601.eui5j2lta3q46i6u@xxxxxxxxx/
>
> Suggested-by: John Fastabend <john.fastabend@xxxxxxxxx>
> Signed-off-by: Michal Luczaj <mhal@xxxxxxx>
> ---
> .../bpf/prog_tests/sockmap_interrupted_connect.c | 200 +++++++++++++++++++++
> 1 file changed, 200 insertions(+)
Not sure why, but it seems to be causing reliable failures
in what should have been an unrelated test. See bpf CI.
I suspect there is a cleanup issue with this new test.
Pls investigate.
pw-bot: cr