"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "3d124ea27ae2fc895f81725f0b4c7f3d9c733df4"
inet: fix races in reqsk_queue_hash_req()
Before allowing lockless LISTEN processing, we need to make sure to arm the SYN_RECV timer before the req socket is visible in hash tables. Also, req->rsk_hash should be written before we set rsk_refcnt to a non zero value. Fixes: fa76ce73 ("inet: get rid of central tcp/dccp listener timer") Signed-off-by:Eric Dumazet <edumazet@google.com> Cc: Ying Cai <ycai@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment