All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: Matthieu Baerts <matthieu.baerts@tessares.net>
Cc: mptcp@lists.linux.dev, Davide Caratti <dcaratti@redhat.com>
Subject: Re: [PATCH mptcp-net v2] mptcp: fix corrupt receiver key in MPC + data + checksum
Date: Tue, 26 Oct 2021 16:10:32 -0700 (PDT)	[thread overview]
Message-ID: <68a55657-2cdb-54f3-9a2c-73864101323@linux.intel.com> (raw)
In-Reply-To: <c623e2-9f3d-ef3f-8135-fe2662f1dd@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

On Tue, 26 Oct 2021, Mat Martineau wrote:

> On Tue, 26 Oct 2021, Davide Caratti wrote:
>
>> using packetdrill it's possible to observe that the receiver key contains
>> random values when clients transmit MP_CAPABLE with data and checksum (as
>> specified in RFC8684 §3.1). Fix the layout of mptcp_out_options, to avoid
>> using the skb extension copy when writing the MP_CAPABLE sub-option.
>> 
>> Fixes: d7b269083786 ("mptcp: shrink mptcp_out_options struct")
>> Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/233
>> Reported-by: Poorva Sonparote <psonparo@redhat.com>
>> Signed-off-by: Davide Caratti <dcaratti@redhat.com>
>> ---
>> 
>> Notes:
>>    v1:
>>     - fix metadata in the commit message (Mat Martineau)
>>     - adjust comment in mptcp_established_options_mp() (Mat Martineau)
>>     - fix sparse warning in __mptcp_make_csum() (Mat Martineau / patchew 
>> CI)
>> 
>
> Thanks Davide, v2 looks good and I confirmed the correct keys in MPC+data 
> with 'mptcp_connect.sh -C'.
>
> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
>

Matthieu -

One more thing: If your schedule allows, could you apply this early 
Wednesday? That way CI can complete, and then there's a chance to sync up 
on IRC when our timezones overlap. Hopefully I can send this to netdev in 
the morning (my time), probably the last chance to get it merged for 
v5.15.

--
Mat Martineau
Intel

  reply	other threads:[~2021-10-26 23:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 14:27 [PATCH mptcp-net v2] mptcp: fix corrupt receiver key in MPC + data + checksum Davide Caratti
2021-10-26 18:50 ` Mat Martineau
2021-10-26 23:10   ` Mat Martineau [this message]
2021-10-27 19:06 ` Matthieu Baerts

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=68a55657-2cdb-54f3-9a2c-73864101323@linux.intel.com \
    --to=mathew.j.martineau@linux.intel.com \
    --cc=dcaratti@redhat.com \
    --cc=matthieu.baerts@tessares.net \
    --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.