[Devel] [PATCH hci-8.2 9/9] ms/mptcp: reclaim forward-allocated memory on RX path errors
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Thu Nov 19 08:01:23 MSK 2026
> From: Paolo Abeni <pabeni at redhat.com>
>
> After commit 9db5b3cec4ec ("mptcp: borrow forward memory from subflow"),
> errors in the receive path prior to queueing skbs into the receive
> queue do not trigger forward-allocated memory reclaiming.
>
> Prevent forward memory from growing unboundedly in pathological drop
> scenarios by explicitly reclaiming memory when skbs are dropped.
>
> Fixes: 9db5b3cec4ec ("mptcp: borrow forward memory from subflow")
> Cc: stable at vger.kernel.org
> Signed-off-by: Paolo Abeni <pabeni at redhat.com>
> Reviewed-by: Matthieu Baerts (NGI0) <matttbe at kernel.org>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe at kernel.org>
> Link: https://patch.msgid.link/20260803-net-mptcp-misc-fixes-7-2-rc6-v2-8-b8f496d71664@kernel.org
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>
> (cherry picked from commit 41b49a8b914ec7dcb03eae93fb27f3c464078644)
>
> Rebase note: this tree counts the drop with sk_drops_add().
>
> https://virtuozzo.atlassian.net/browse/VSTOR-155321
> Feature: fix ms/net
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261119044702.1218722-1-eva.kurchatova@virtuozzo.com?part=9
More information about the Devel
mailing list