]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: lockless TCP_MAXSEG option
authorEric Dumazet <edumazet@google.com>
Thu, 21 Aug 2025 14:19:01 +0000 (14:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Aug 2025 22:58:59 +0000 (15:58 -0700)
commit9217146fee49575dfe4ac9416587392fc31171f1
tree872d306c59671201e58538bb5d6e1404bb4c7cf6
parentd5ffba0f254d29a13908d4510762b31d4247a94c
tcp: lockless TCP_MAXSEG option

setsockopt(TCP_MAXSEG) writes over a field that does not need
socket lock protection anymore.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20250821141901.18839-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp.c