All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: quanyeyang@proton.me, MPTCP Linux <mptcp@lists.linux.dev>
Cc: stable@vger.kernel.org, Tao Cui <cui.tao@linux.dev>
Subject: Re: [PATCH mptcp-net] mptcp: pm: cap userspace extra_subflows at U8_MAX
Date: Wed, 2 Sep 2026 18:36:41 +0200	[thread overview]
Message-ID: <5bfa969b-fd91-4797-a0ba-100762233ea6@kernel.org> (raw)
In-Reply-To: <20260902-mptcp-pm-extra-subflows-v1-1-68540a866e5a@proton.me>

Hi Quanye,

+cc Tao

On 02/09/2026 17:39, Quanye Yang via B4 Relay wrote:
> From: Quanye Yang <quanyeyang@proton.me>
> 
> The userspace PM increments extra_subflows with no upper bound. The
> field is a u8, so the 256th extra subflow wraps the counter to 0 and
> the next close hits WARN_ON_ONCE().
> 
> Refuse admission at U8_MAX for incoming MP_JOIN and for the Netlink
> create path.

Thank you for the patch. It looks like Tao already addresses the same
issues, see:

https://lore.kernel.org/20260831093206.689827-1-cui.tao@linux.dev

Do you mind syncing with him, please?

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


  parent reply	other threads:[~2026-09-02 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 15:39 [PATCH mptcp-net] mptcp: pm: cap userspace extra_subflows at U8_MAX Quanye Yang
2026-09-02 15:39 ` Quanye Yang via B4 Relay
2026-09-02 15:49 ` sashiko-bot
2026-09-02 16:36 ` Matthieu Baerts [this message]
2026-09-02 16:52 ` Matthieu Baerts
2026-09-02 17:02 ` MPTCP CI

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=5bfa969b-fd91-4797-a0ba-100762233ea6@kernel.org \
    --to=matttbe@kernel.org \
    --cc=cui.tao@linux.dev \
    --cc=mptcp@lists.linux.dev \
    --cc=quanyeyang@proton.me \
    --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.