All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matthieu.baerts@tessares.net>
To: Geliang Tang <geliangtang@gmail.com>
Cc: MPTCP Upstream <mptcp@lists.linux.dev>
Subject: Re: [PATCH mptcp-next v8 0/8] Clarify when options can be used
Date: Thu, 6 Jan 2022 10:53:23 +0100	[thread overview]
Message-ID: <fc3b17c5-6d28-8a38-65c8-a85ab735b9e2@tessares.net> (raw)
In-Reply-To: <CA+WQbwuF4REjgiEveFYs6=Dz9_fzMQaqorNepNJMBjfr_fWt=g@mail.gmail.com>

Hi Geliang,

On 06/01/2022 03:58, Geliang Tang wrote:
> Hi Matt,
> 
> Thank you so much for this new version. Good catch on patch 2. It works on
> my test and all looks good to me...
> 
> Acked-and-tested-by: Geliang Tang <geliang.tang@suse.com>

Great, thank you for having checked that!

> ... except patch 6.
> 
> I thinks we'd better to drop patch 6 ("mptcp: allow sending both ADD_ADDR
> and RM_ADDR"). Since ADD_ADDR suboption is too big, we had made a lot of
> efforts to let ADD_ADDR not to be sent with other subopthins. I thinks it's
> better not to let ADD_ADDR sent with others by ourselves.

ADD_ADDR suboption can be too big in some cases but not all the time.
If I remember well, we decided to have a dedicated ACK to simplify the
code: not having the ADD_ADDR removing the DSS options in some cases but
not all, also simplifying packetdrill tests.

Here, the idea is to add the RM_ADDR if asked and if there is room, just
like what we do in mptcp_write_options().

> On the other hand, I'm not sure our code can deal with ADD_ADDR and RM_ADDR
> together correctly, it's not tested.

Good point, we need a test validating that.

I'm not even sure we can have a test because each netlink command will
cause the corresponding option to be sent: depending on the timing, when
the next packet is sent, we might have one or two options to be sent.

If we drop patch 6, we need to replace it with a patch updating the new
comment at the beginning of mptcp_write_options() and not allowing
ADD_ADDR to be sent with RM_ADDR + MP_PRIO as we currently do.

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net

  parent reply	other threads:[~2022-01-06  9:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 15:56 [PATCH mptcp-next v8 0/8] Clarify when options can be used Matthieu Baerts
2022-01-05 15:56 ` [PATCH mptcp-next v8 1/8] Squash to "mptcp: implement fastclose xmit path" Matthieu Baerts
2022-01-05 15:56 ` [PATCH mptcp-next v8 2/8] mptcp: fix opt size when sending DSS + MP_FAIL Matthieu Baerts
2022-01-05 15:56 ` [PATCH mptcp-next v8 3/8] mptcp: fix a DSS option writing error Matthieu Baerts
2022-01-05 15:56 ` [PATCH mptcp-next v8 4/8] mptcp: reduce branching when writing MP_FAIL option Matthieu Baerts
2022-01-08  0:54   ` Mat Martineau
2022-01-10 17:42     ` Matthieu Baerts
2022-01-05 15:56 ` [PATCH mptcp-next v8 5/8] mptcp: clarify when options can be used Matthieu Baerts
2022-01-08  0:59   ` Mat Martineau
2022-01-05 15:57 ` [PATCH mptcp-next v8 6/8] mptcp: allow sending both ADD_ADDR and RM_ADDR Matthieu Baerts
2022-01-05 15:57 ` [PATCH mptcp-next v8 7/8] mptcp: print out reset infos of MP_RST Matthieu Baerts
2022-01-05 15:57 ` [PATCH mptcp-next v8 8/8] selftests: mptcp: add mp_fail testcases Matthieu Baerts
2022-01-06  2:58 ` [PATCH mptcp-next v8 0/8] Clarify when options can be used Geliang Tang
2022-01-06  9:47   ` Paolo Abeni
2022-01-06  9:53   ` Matthieu Baerts [this message]
2022-01-08  1:19     ` Mat Martineau
2022-01-10 17:50       ` Matthieu Baerts
2022-01-06 11:45   ` Matthieu Baerts
2022-01-06 17:39     ` Mat Martineau

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=fc3b17c5-6d28-8a38-65c8-a85ab735b9e2@tessares.net \
    --to=matthieu.baerts@tessares.net \
    --cc=geliangtang@gmail.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 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.