netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH net-next 0/2] TCP: Fast-Open observability
@ 2025-03-13 14:45 Jeremy Harris
  2025-03-13 14:45 ` [RFC PATCH net-next 1/2] TCP: note received valid-cookie Fast Open option Jeremy Harris
  2025-03-13 14:45 ` [RFC PATCH net-next 2/2] TCP: pass accepted-TFO indication through getsockopt Jeremy Harris
  0 siblings, 2 replies; 3+ messages in thread
From: Jeremy Harris @ 2025-03-13 14:45 UTC (permalink / raw)
  To: netdev; +Cc: Jeremy Harris

Whether TCP Fast Open was used, or not, for a connection is not reliably
observable by an accepting application.

Fix this by noting during SYN processing that an acceptable Fast Open option
was used, and provide this to userland via getsockopt TCP_INFO.

Jeremy Harris (2):
  TCP: note received valid-cookie Fast Open option
  TCP: pass accepted-TFO indication through getsockopt

 include/linux/tcp.h      | 3 ++-
 include/uapi/linux/tcp.h | 1 +
 net/ipv4/tcp.c           | 2 ++
 net/ipv4/tcp_fastopen.c  | 1 +
 4 files changed, 6 insertions(+), 1 deletion(-)


base-commit: 5a1dddd2944492edb1e61c5db1cc386e5419fcf4
-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-13 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 14:45 [RFC PATCH net-next 0/2] TCP: Fast-Open observability Jeremy Harris
2025-03-13 14:45 ` [RFC PATCH net-next 1/2] TCP: note received valid-cookie Fast Open option Jeremy Harris
2025-03-13 14:45 ` [RFC PATCH net-next 2/2] TCP: pass accepted-TFO indication through getsockopt Jeremy Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).