History

tcp: accecn: AccECN option failure handling

AccECN option may fail in various way, handle these: - Attempt to negotiate the use of AccECN on the 1st retransmitted SYN - From the 2nd retransmitted SYN, stop AccECN negotiation - Remove option from SYN/ACK rexmits to handle blackholes - If no option arrives in SYN/ACK, assume Option is not usable - If an option arrives later, re-enabled - If option is zeroed, disable AccECN option processing This patch use existing padding bits in tcp_request_sock and holes in tcp_sock without increasing the size.

Chia-Yu Chang committed 1 year ago

Commit b40671b1 parent aa55a7d7 files · +111 −9Browse files

Showing the changes to include/uapi (1 of 7 files). Show all

Unified · Split

include/uapi/linux/tcp.h+2−0
@@ -323,6 +323,8 @@ struct tcp_info { · 322 unmodified lines
323323 __u32 tcpi_received_e1_bytes;
324324 __u32 tcpi_received_e0_bytes;
325325 __u32 tcpi_received_ce_bytes;
326+ __u16 tcpi_accecn_fail_mode;
327+ __u16 tcpi_accecn_opt_seen;
326328 };
327329
328330 /* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */