OSDN Git Service

tcp: set TCP_KEEPCNT locklessly
authorEric Dumazet <edumazet@google.com>
Fri, 4 Aug 2023 14:46:14 +0000 (14:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Aug 2023 07:24:55 +0000 (08:24 +0100)
commit84485080cbc1e5a011e7549966739df4cec158b1
tree25bf97b4f5fa467bbd5de46c353f751a3d95a779
parent6fd70a6b4e6f58482a43da46d12323795bbc5f68
tcp: set TCP_KEEPCNT locklessly

tp->keepalive_probes can be set locklessly, readers
are already taking care of this field being potentially
set by other threads.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c