All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: netdev-bot+sashiko@kernel.org
Cc: martineau@kernel.org, geliang@kernel.org, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
	willemb@google.com, horms@kernel.org, dcaratti@redhat.com,
	netdev@vger.kernel.org, mptcp@lists.linux.dev, mason@kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH net 3/9] mptcp: limit an orphan probing a zero window
Date: Fri, 4 Dec 2026 13:04:38 +0100	[thread overview]
Message-ID: <58146e18-d462-4fa1-a22d-180c4aa3cbd1@kernel.org> (raw)
In-Reply-To: <179633471049.3146.15947480918525815086@kernel.org>

Hello,

On 03/12/2026 22:51, netdev-bot+sashiko@kernel.org wrote:

(...)

> [Severity: Medium]
> Can icsk_rto ever reach tcp_rto_max() here when
> net.ipv4.tcp_thin_linear_timeouts=1?

No, but this needs this non-default sysctl, and a peer shrinking its
window to zero with data in flight. Such orphans are then still limited
by tcp_max_orphans and the TCP memory limits, since patch 4. This can be
improved in net-next.

(...)

> [Severity: High]
> For an idle subflow with packets_out == 0 and no send head, this always
> returns false. With default settings, could a remote peer use a second,
> idle backup subflow to keep the orphan forever?

Yes, a misbehaving peer could do that, by sending pure ACKs on this idle
backup subflow. As with a peer acking the data at the TCP level only,
the case mentioned in patch 4, such orphans are then limited by
tcp_max_orphans and the TCP memory limits. That's not a regression, so I
suggest looking at not counting such idle subflows in a follow-up.

(...)

> [Severity: Medium]
> Should this also check MPTCP-level progress?

(...)

> This needs a misbehaving peer that withholds DATA_ACK while still
> sending TCP ACKs.

Yep, again, this is the case mentioned in patch 4: these orphans are now
limited as the TCP ones, by tcp_max_orphans and the TCP memory limits.

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


  reply	other threads:[~2026-12-04 12:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 21:29 [PATCH net 0/9] mptcp: misc fixes for v7.4-rc7 Matthieu Baerts (NGI0)
2026-12-02 21:29 ` [PATCH net 1/9] mptcp: pm: kernel: c-flag: keep local_addr_used in sync Matthieu Baerts (NGI0)
2026-12-02 21:29 ` [PATCH net 2/9] mptcp: keep an orphan while it can send its data Matthieu Baerts (NGI0)
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:04     ` Matthieu Baerts
2026-12-02 21:29 ` [PATCH net 3/9] mptcp: limit an orphan probing a zero window Matthieu Baerts (NGI0)
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:04     ` Matthieu Baerts [this message]
2026-12-02 21:29 ` [PATCH net 4/9] mptcp: count orphans as TCP does Matthieu Baerts (NGI0)
2026-12-03 21:32   ` sashiko-bot
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:04     ` Matthieu Baerts
2026-12-02 21:29 ` [PATCH net 5/9] mptcp: return EOF after a DATA_FIN, " Matthieu Baerts (NGI0)
2026-12-03 21:32   ` sashiko-bot
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:04     ` Matthieu Baerts
2026-12-02 21:29 ` [PATCH net 6/9] mptcp: wake up blocked senders when no sf left Matthieu Baerts (NGI0)
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:05     ` Matthieu Baerts
2026-12-02 21:29 ` [PATCH net 7/9] mptcp: reclaim forward memory after coalescing skbs Matthieu Baerts (NGI0)
2026-12-03 21:51   ` netdev-bot+sashiko
2026-12-04 12:05     ` Matthieu Baerts
2026-12-02 21:29 ` [PATCH net 8/9] mptcp: don't charge a shared page twice at accept() Matthieu Baerts (NGI0)
2026-12-02 21:29 ` [PATCH net 9/9] mptcp: don't charge the backlog " Matthieu Baerts (NGI0)
2026-12-04 12:05 ` [PATCH net 0/9] mptcp: misc fixes for v7.4-rc7 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=58146e18-d462-4fa1-a22d-180c4aa3cbd1@kernel.org \
    --to=matttbe@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dcaratti@redhat.com \
    --cc=edumazet@kernel.org \
    --cc=geliang@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=martineau@kernel.org \
    --cc=mason@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=willemb@google.com \
    /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.