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
323 __u32 tcpi_received_e1_bytes;323 __u32 tcpi_received_e1_bytes;
324 __u32 tcpi_received_e0_bytes;324 __u32 tcpi_received_e0_bytes;
325 __u32 tcpi_received_ce_bytes;325 __u32 tcpi_received_ce_bytes;
326 __u16 tcpi_accecn_fail_mode;
327 __u16 tcpi_accecn_opt_seen;
326};328};
327 329
328/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */330/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t