Subject: Re: [PATCH v1 net] selftest: Don't reuse port for SO_INCOMING_CPU test.

From: Jakub Kicinski <[email-masked]>
Date: Mon, 22 Jan 2024 13:13:38 -0800

On Fri, 19 Jan 2024 19:16:42 -0800 Kuniyuki Iwashima wrote:
> Jakub reported that ASSERT_EQ(cpu, i) in so_incoming_cpu.c seems to
> fire somewhat randomly.
> 
>   # #  RUN           so_incoming_cpu.before_reuseport.test3 ...
>   # # so_incoming_cpu.c:191:test3:Expected cpu (32) == i (0)
>   # # test3: Test terminated by assertion
>   # #          FAIL  so_incoming_cpu.before_reuseport.test3
>   # not ok 3 so_incoming_cpu.before_reuseport.test3
> 
> When the test failed, not-yet-accepted CLOSE_WAIT sockets received
> SYN with a "challenging" SEQ number, which was sent from an unexpected
> CPU that did not create the receiver.

Tested-by: Jakub Kicinski <[email-masked]>

Thanks for a quick fix!