]> git.ipfire.org Git - thirdparty/linux.git/commit
tcp: add newval parameter to tcp_rcvbuf_grow()
authorEric Dumazet <edumazet@google.com>
Tue, 28 Oct 2025 11:58:01 +0000 (12:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Oct 2025 00:30:19 +0000 (17:30 -0700)
commitb1e014a1f3275a6f3d0f2b30b8117447fc3915f5
treee0fad09ad90c88c977b5eefaa3544586b1f72f1e
parent24990d89c23de4dbef6b0b3d58383cafefdd6983
tcp: add newval parameter to tcp_rcvbuf_grow()

This patch has no functional change, and prepares the following one.

tcp_rcvbuf_grow() will need to have access to tp->rcvq_space.space
old and new values.

Change mptcp_rcvbuf_grow() in a similar way.

Signed-off-by: Eric Dumazet <edumazet@google.com>
[ Moved 'oldval' declaration to the next patch to avoid warnings at
 build time. ]
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20251028-net-tcp-recv-autotune-v3-3-74b43ba4c84c@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tcp.h
net/ipv4/tcp_input.c
net/mptcp/protocol.c