From: Matthieu Baerts <matttbe@kernel.org>
To: Mat Martineau <martineau@kernel.org>
Cc: mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-net] mptcp: sched: check both backup in retrans
Date: Wed, 21 Aug 2024 12:27:33 +0200 [thread overview]
Message-ID: <c85af4ec-9549-483b-be3d-9773e39d9fdc@kernel.org> (raw)
In-Reply-To: <90a11c1b-2d72-6b29-1139-3295f43269d2@kernel.org>
Hi Mat,
On 21/08/2024 03:24, Mat Martineau wrote:
> On Tue, 13 Aug 2024, Matthieu Baerts (NGI0) wrote:
>
>> The 'mptcp_subflow_context' structure has two items related to the
>> backup flags:
>>
>> - 'backup': the subflow has been marked as backup by the other peer
>>
>> - 'request_bkup': the backup flag has been set by the host
>>
>> Looking only at the 'backup' flag can make sense in some cases, but it
>> is not the behaviour of the default packet scheduler when selecting
>> paths.
>>
>> As explained in the commit b6a66e521a20 ("mptcp: sched: check both
>> directions for backup"), the packet scheduler should look at both flags,
>> because that was the behaviour from the beginning: the 'backup' flag was
>> set by accident instead of the 'request_bkup' one. Now that the latter
>> has been fixed, get_retrans() needs to be adapted as well.
>>
>> Fixes: 3b1d6210a957 ("mptcp: implement and use MPTCP-level
>> retransmission")
>
> I think this should have:
>
> Fixes: b6a66e521a20 ("mptcp: sched: check both directions for backup")
Good idea, I switched to that one when applying the patch.
> and a Cc: stable ?
Yes, I add them when sending patches to netdev.
> Reviewed-by: Mat Martineau <martineau@kernel.org>
New patches for t/upstream-net and t/upstream:
- 353d48321ce0: mptcp: sched: check both backup in retrans
- Results: c025238d573a..76f6fba9ef6b (export-net)
- Results: a2eeb886f736..80d8c6b850fb (export)
Tests are now in progress:
- export-net:
https://github.com/multipath-tcp/mptcp_net-next/commit/2e798b8d759eb6a9a1ee14544e625cae61a9cad3/checks
- export:
https://github.com/multipath-tcp/mptcp_net-next/commit/91a502295edf01f2c23e9f11edad1d7db908d21f/checks
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
prev parent reply other threads:[~2024-08-21 10:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 11:25 [PATCH mptcp-net] mptcp: sched: check both backup in retrans Matthieu Baerts (NGI0)
2024-08-13 15:23 ` MPTCP CI
2024-08-13 15:55 ` MPTCP CI
2024-08-21 1:24 ` Mat Martineau
2024-08-21 10:27 ` Matthieu Baerts [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c85af4ec-9549-483b-be3d-9773e39d9fdc@kernel.org \
--to=matttbe@kernel.org \
--cc=martineau@kernel.org \
--cc=mptcp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.