Files
linux/net/ipv4
Akhmat Karakotov 5903123f66 tcp: Use BPF timeout setting for SYN ACK RTO
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@yandex-team.ru>
Acked-by: Martin KaFai Lau <kafai@fb.com>

v2:
	- Add timeout option to struct request_sock. Do not call
	  tcp_timeout_init on every syn ack retransmit.

v3:
	- Use unsigned long for min. Bound tcp_timeout_init to TCP_RTO_MAX.

v4:
	- Refactor duplicate code by adding reqsk_timeout function.
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-02 14:45:18 +00:00
..
2021-11-22 14:34:07 +00:00
2021-06-07 14:08:30 -07:00
2021-05-17 15:29:35 -07:00
2022-01-25 11:25:21 +00:00
2021-11-14 12:20:44 +00:00
2021-10-13 09:41:37 -07:00
2021-10-13 09:41:37 -07:00
2021-10-13 09:41:37 -07:00
2021-05-17 15:29:35 -07:00
2022-01-31 11:33:10 +00:00
2021-11-16 19:07:54 -08:00
2020-03-16 18:26:54 -07:00
2021-03-28 17:31:13 -07:00
2021-05-17 15:29:35 -07:00
2022-01-22 08:33:37 +02:00
2021-05-17 15:29:35 -07:00