Re: [PATCH v2] tcp: fix connection reset due to tw hashdance race.

From: Gou Hao <hidden>
Date: 2025-07-15 07:24:03
Also in: lkml

Could you please tell me how this issue was ultimately resolved? I don't 
see any related patches in mainline.

We encountered the same situation in our actual business: due to lookup 
failure, the client received RST packets.

As follows:

    CPU 0                                       CPU 1
    -----                                             -----
tcp_v4_rcv()                      syn_recv_sock()
                                             inet_ehash_insert()
                                             -> 
sk_nulls_del_node_init_rcu(osk)
__inet_lookup_established()
                                             -> 
__sk_nulls_add_node_rcu(sk, list)


--

thanks,

Gou Hao
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help