Thread (36 messages) flat view 36 messages, 4 authors, 2026-01-21

Re: [PATCH v9 net-next 10/15] tcp: accecn: unset ECT if receive or send ACE=0 in AccECN negotiaion

From: Eric Dumazet <edumazet@google.com>
Date: 2026-01-20 18:22:10
Also in: bpf, linux-doc, linux-kselftest

On Tue, Jan 20, 2026 at 7:11 PM Chia-Yu Chang (Nokia)
[off-list ref] wrote:

Hi Eric,

Thanks for the feedback.
Do you mean sk_listener here is read-only despite there is no const here?
It is not const because we probably need to increment reference counts on it.

But if you have 1000 SYN_RECV, they might share the same listener
socket, and we do not lock the listener socket,
this would not scale very well on servers with 10,000,000 tcp sockets :)

So using any listener-fields to store 'per-syn-recv' information is racy.
Then, could you help to suggest the way please?
Beacuse for AccECN, here we need to set fail flag after retransmitting SYN/ACK > 1 time.
Why not use state in req itself ? (Or tcp_rsk())
And this was done within tcp_make_synack(), but now move to every place where could retransmit SYN/ACK.

Thanks.
Chia-Yu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help