From: Matthieu Baerts <matthieu.baerts@tessares.net>
To: Mat Martineau <mathew.j.martineau@linux.intel.com>
Cc: mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next v3] mptcp: full fully established support after ADD_ADDR
Date: Tue, 17 Aug 2021 18:44:30 +0200 [thread overview]
Message-ID: <4692bf57-70be-e6d2-e4e2-c187ed30fcf7@tessares.net> (raw)
In-Reply-To: <708f39c-6066-f93b-f151-f6ed8a2ba0cb@linux.intel.com>
Hi Mat,
On 17/08/2021 18:39, Mat Martineau wrote:
> On Tue, 17 Aug 2021, Matthieu Baerts wrote:
>
>> If directly after an MP_CAPABLE 3WHS, the client receives an ADD_ADDR
>> with HMAC from the server, it is enough to switch to a "fully
>> established" mode because it has received more MPTCP options.
>>
>> It was then OK to enable the "fully_established" flag on the MPTCP
>> socket. Still, best to check if the ADD_ADDR looks valid by looking if
>> it contains an HMAC (no 'echo' bit). If an ADD_ADDR echo is received
>> while we are not in "fully established" mode, it is strange and then
>> we should not switch to this mode now.
>>
>> But that is not enough. On one hand, the path-manager has be notified
>> the state has changed. On the other hand, the "fully_established" flag
>> on the subflow socket should be turned on as well not to re-send the
>> MP_CAPABLE 3rd ACK content with the next ACK.
>>
>> Fixes: 84dfe3677a6f ("mptcp: send out dedicated ADD_ADDR packet")
>> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
>> ---
>>
>> Notes:
>> - v2: reword the commit message not to mention "valid" content (Mat)
>> - v3: squash the two patches together and update the commit message
>> (Mat)
>
> Thanks for squashing! Still ok to tag:
>
> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Thank you for the review!
Now in our tree (fix for net) with your RvB tag:
- 3c39f1cc7dcb: mptcp: full fully established support after ADD_ADDR
- Results: b2f0470e318c..0c5e0eca2d62
Builds and tests are now in progress:
https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20210817T164404
https://github.com/multipath-tcp/mptcp_net-next/actions/workflows/build-validation.yml?query=branch:export/20210817T164404
Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
prev parent reply other threads:[~2021-08-17 16:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 15:18 [PATCH mptcp-next v3] mptcp: full fully established support after ADD_ADDR Matthieu Baerts
2021-08-17 16:39 ` Mat Martineau
2021-08-17 16:44 ` 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=4692bf57-70be-e6d2-e4e2-c187ed30fcf7@tessares.net \
--to=matthieu.baerts@tessares.net \
--cc=mathew.j.martineau@linux.intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox