]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: tcp_time_to_recover() cleanup
authorEric Dumazet <edumazet@google.com>
Wed, 18 Jun 2025 09:12:46 +0000 (09:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 23:15:34 +0000 (16:15 -0700)
commitf64bd2045d6202c0dfff043c1168d5247acdf777
treeb2e2ad7a8b57559d742dbd1d014ab9eec8821412
parentc7d78566bbd30544a0618a6ffbc97bc0ddac7035
tcp: tcp_time_to_recover() cleanup

tcp_time_to_recover() does not need the @flag argument.

Its first parameter can be marked const, and of tcp_sock type.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250618091246.1260322-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_input.c