Re: [PATCH v2 mptcp-next 2/7] mptcp: move the stale logic out of retrans scheduler

Paolo Abeni <[email protected]>
Newsgroups dev.linux.lists.mptcp
Message-ID <[email protected]>
On 8/6/26 4:45 PM, Paolo Abeni wrote:
> This allow separating the stale logic invocation and the retrans
> scheduler, and will simplify the next patch.
> 
> It's also a cleaner design as the retrans scheduler has currently
> too many side effects. As a possible downside, the retrans work will
> now traverse the subflows list additional times; that does not matter
> much, as this is slowpath.
> 
> While at it, pick more accurate names for the involved helpers and
> explicitly note that the per subflow stale data is under msk socket
> lock protection.
> 
> The scheduler and the stale logic may observe different subflow
> statues, as no subflow lock is acquired. This is intentional and not
> harmful, worst case leading to slower retransmissions.
> 
> Signed-off-by: Paolo Abeni <[email protected]>
> ---
> v1 -> v2:
>   - fix stale lockless access
> 
> Note: BPF scheduler should be rebase to use the renamed helper
Additional note: I think the rename is a good thing, because the
function additionally changed the argument list.

@Mat: please LMK if you are ok with squash-to patches for later
self-tests/bpf things to be adjusted.

/P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.