Files
linux/net
Eric Dumazet 3169e36ae1 net: make sk->sk_sndtimeo lockless
Followup of commit 285975dd67 ("net: annotate data-races around
sk->sk_{rcv|snd}timeo").

Remove lock_sock()/release_sock() from sock_set_sndtimeo(),
and add READ_ONCE()/WRITE_ONCE() where it is needed.

Also SO_SNDTIMEO_OLD and SO_SNDTIMEO_NEW can call sock_set_timeout()
without holding the socket lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250620155536.335520-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-23 17:05:11 -07:00
..
2025-04-22 07:04:02 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 16:58:43 -07:00
2025-06-23 17:05:11 -07:00
2024-10-15 18:52:26 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-21 07:35:39 -07:00
2025-06-23 17:05:11 -07:00
2025-06-23 17:05:11 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2024-10-08 15:16:59 +02:00
2025-04-11 18:58:10 -07:00
2025-06-23 17:04:03 -07:00