[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250423124334.4916-1-jgh@exim.org>
Date: Wed, 23 Apr 2025 13:43:32 +0100
From: Jeremy Harris <jgh@...m.org>
To: netdev@...r.kernel.org
Cc: edumazet@...gle.com,
ncardwell@...gle.com,
Jeremy Harris <jgh@...m.org>
Subject: [PATCH v2 0/2] tcp: fastopen: observability
Whether TCP Fast Open was used for a connection is not reliably
observable by an accepting application when the SYN passed no data.
Fix this by noting during SYN receive processing that an acceptable Fast
Open option was used, and provide this to userland via getsockopt TCP_INFO.
Jeremy Harris (2):
tcp: fastopen: note that a child socket was created
tcp: fastopen: pass TFO child indication through getsockopt
include/linux/tcp.h | 3 ++-
include/uapi/linux/tcp.h | 1 +
net/ipv4/tcp.c | 3 +++
net/ipv4/tcp_fastopen.c | 1 +
4 files changed, 7 insertions(+), 1 deletion(-)
base-commit: 0e0a7e3719bc8cbe6d6e30b3e81f21472ecba5bc
--
2.49.0
Powered by blists - more mailing lists