]> git.ipfire.org Git - thirdparty/linux.git/commit
tcp: Remove timeout arg from reqsk_queue_hash_req().
authorKuniyuki Iwashima <kuniyu@google.com>
Thu, 6 Nov 2025 00:32:41 +0000 (00:32 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 02:05:25 +0000 (18:05 -0800)
commit3ce5dd8161ecdf12ffe0af99ff8980f1432f64a5
treef1e56c529e6cd4b268bf65d92a84d88de9a474c9
parentbe88c549e9d78828a2e06126ed7e17fc2e030f1f
tcp: Remove timeout arg from reqsk_queue_hash_req().

inet_csk_reqsk_queue_hash_add() is no longer shared by DCCP.

We do not need to pass req->timeout down to reqsk_queue_hash_req().

Let's move tcp_timeout_init() from tcp_conn_request() to
reqsk_queue_hash_req().

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251106003357.273403-3-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet_connection_sock.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_input.c