]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: tcp_moderate_rcvbuf is only used in rx path
authorEric Dumazet <edumazet@google.com>
Wed, 19 Nov 2025 08:48:12 +0000 (08:48 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 01:44:23 +0000 (17:44 -0800)
commit6d5dea68246ecb190a50a7fecbaf7f8c1ddb15e4
treefdd152c013b814468040d546abdcc425aa8fa9ea
parent738cd803b9d418861438df0c7232e9ca6afad58e
tcp: tcp_moderate_rcvbuf is only used in rx path

sysctl_tcp_moderate_rcvbuf is only used from tcp_rcvbuf_grow().

Move it to netns_ipv4_read_rx group.

Remove various CACHELINE_ASSERT_GROUP_SIZE() from netns_ipv4_struct_check(),
as they have no real benefit but cause pain for all changes.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20251119084813.3684576-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/net_cachelines/netns_ipv4_sysctl.rst
include/net/netns/ipv4.h
net/core/net_namespace.c