[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <314e86f0-512a-77a9-9a48-de191eea2600@gmail.com>
Date: Wed, 3 Nov 2021 13:54:39 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Akhmat Karakotov <hmukos@...dex-team.ru>, kafai@...com
Cc: brakmo@...com, eric.dumazet@...il.com, mitradir@...dex-team.ru,
ncardwell@...gle.com, netdev@...r.kernel.org, ycheng@...gle.com,
zeil@...dex-team.ru
Subject: Re: [PATCH v3] tcp: Use BPF timeout setting for SYN ACK RTO
On 11/3/21 1:46 PM, Akhmat Karakotov wrote:
> When setting RTO through BPF program, some SYN ACK packets were unaffected
> and continued to use TCP_TIMEOUT_INIT constant. This patch adds timeout
> option to struct request_sock. Option is initialized with TCP_TIMEOUT_INIT
> and is reassigned through BPF using tcp_timeout_init call. SYN ACK
> retransmits now use newly added timeout option.
>
> Signed-off-by: Akhmat Karakotov <hmukos@...dex-team.ru>
> ---
> include/net/request_sock.h | 2 ++
> include/net/tcp.h | 2 +-
> net/ipv4/inet_connection_sock.c | 4 +++-
> net/ipv4/tcp_input.c | 8 +++++---
> net/ipv4/tcp_minisocks.c | 12 +++++++++---
> 5 files changed, 20 insertions(+), 8 deletions(-)
SGTM, thanks.
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists