Re: [PATCH] tcp: fix race condition when creating child sockets from syncookies

From: Eric Dumazet
Date: Fri Oct 23 2020 - 12:51:34 EST


On Fri, Oct 23, 2020 at 6:48 PM Ricardo Dias <rdias@xxxxxxxxxx> wrote:
>

> In that case, I can change the patch to only iterate the ehash bucket
> only when the listening socket is using the loopback interface, correct?

No, the fix should be generic.

We could still have bad NIC, or bad configuration, spreading packets
on random cpus ;)