All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: gregkh@linuxfoundation.org, martineau@kernel.org, pabeni@redhat.com
Cc: stable@vger.kernel.org, MPTCP Linux <mptcp@lists.linux.dev>
Subject: Re: FAILED: patch "[PATCH] mptcp: pm: ADD_ADDR 0 is not a new address" failed to apply to 5.10-stable tree
Date: Fri, 6 Sep 2024 11:00:26 +0200	[thread overview]
Message-ID: <1dfb02d8-f4ba-4ec8-a0c3-59d304454702@kernel.org> (raw)
In-Reply-To: <2024083025-evoke-catering-3aab@gregkh>

Hi Greg,

On 30/08/2024 12:26, gregkh@linuxfoundation.org wrote:
> 
> The patch below does not apply to the 5.10-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.

Thank you for the notification!

(...)

> ------------------ original commit in Linus's tree ------------------
> 
> From 57f86203b41c98b322119dfdbb1ec54ce5e3369b Mon Sep 17 00:00:00 2001
> From: "Matthieu Baerts (NGI0)" <matttbe@kernel.org>
> Date: Wed, 28 Aug 2024 08:14:37 +0200
> Subject: [PATCH] mptcp: pm: ADD_ADDR 0 is not a new address
> 
> The ADD_ADDR 0 with the address from the initial subflow should not be
> considered as a new address: this is not something new. If the host
> receives it, it simply means that the address is available again.
> 
> When receiving an ADD_ADDR for the ID 0, the PM already doesn't consider
> it as new by not incrementing the 'add_addr_accepted' counter. But the
> 'accept_addr' might not be set if the limit has already been reached:
> this can be bypassed in this case. But before, it is important to check
> that this ADD_ADDR for the ID 0 is for the same address as the initial
> subflow. If not, it is not something that should happen, and the
> ADD_ADDR can be ignored.
> 
> Note that if an ADD_ADDR is received while there is already a subflow
> opened using the same address, this ADD_ADDR is ignored as well. It
> means that if multiple ADD_ADDR for ID 0 are received, there will not be
> any duplicated subflows created by the client.
> 
> Fixes: d0876b2284cf ("mptcp: add the incoming RM_ADDR support")

The code is too different in v5.10, and I don't think it is worth it to
have this small fix in v5.10.

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.


      reply	other threads:[~2024-09-06  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-30 10:26 FAILED: patch "[PATCH] mptcp: pm: ADD_ADDR 0 is not a new address" failed to apply to 5.10-stable tree gregkh
2024-09-06  9:00 ` 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=1dfb02d8-f4ba-4ec8-a0c3-59d304454702@kernel.org \
    --to=matttbe@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=martineau@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    /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.