From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 666A981989 for ; Wed, 18 Nov 2026 05:41:29 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AI5eFF7018453; Wed, 18 Nov 2026 08:40:15 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AI5eFF7018453 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="Ay32EVj7" Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AI5e53a018400 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Wed, 18 Nov 2026 08:40:05 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AI5e53a018400 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-492b5408dedso326232f8f.3 for ; Tue, 17 Nov 2026 21:40:05 -0800 (PST) X-Gm-Message-State: APuU4Z88Yt8/VZPzzTEIBzOKz+bhoFsdXu2Dm0qdfQfVacHg4Z2c/tv6 g2lS389eRiQjtq3WUYHnFOgYi1sQsY6P5RjUOW37Jil+5bh2lvyUTREUOysAiLGsJZ1lcsf0G4r iigKeMiQhHDPfvQla3xZoghuCaZKmkBJLwCxFiPpjgmG5UWhxyhMaxA== X-Gm-Gg: AZFdTZep9oOHiLz3kiKw5dfHlFxD4ZefVmyy551mjECSiI9BEJewiaKZak8qGX3ZxUd DSfsDFfFcWuteogujd6eVrYDBIetC1DtqYKLqd+IgfN3xp2PHeAwMNe7J4GK0/xYq65d11WWkii hDockvEZHMuNSDcPkkSMyR9CXHgjLEkES8pSdK+0weX3L+Ucp975s9bDk72GwaiHfqtW8TEcVOi DYCJ0WqgjBWMvCmaLdgAvdUJtjT2+EKWCupJ3ACdc5NoOWtaLuEBxzHxY1xZQjdHf8f9shxMdEx swpXPJsyBDi8S3u6TX9z3Iflz07QI3J9KvKYeFdNylce8NAnbPG1C+wiqZbDQZk1RocGZ1pT1Ej 09KbVqY4JAZK2UxVlyRYttRQwtg== X-Received: by 2002:a5d:620d:0:b0:491:a219:8506 with SMTP id ffacd0b85a97d-4a63bbc3bc8mr2466533f8f.48.1794980404975; Tue, 17 Nov 2026 21:40:04 -0800 (PST) X-Received: by 2002:a5d:620d:0:b0:491:a219:8506 with SMTP id ffacd0b85a97d-4a63bbc3bc8mr2466470f8f.48.1794980403952; Tue, 17 Nov 2026 21:40:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1794980403; cv=none; d=google.com; s=arc-20260327; b=j40CmA3rcSX/Tko9pJxtqQN883HSbNuZ03I3/wYh/jXOUPDIc3/nqPKDNbz3hEcO6s yE+PaFGaXlBlG5kea13055ygIzkKYZ9lqHfgq6SCAg5EGltE8N4bhMF+wpgsP/coPY2c aOxbNrUx1iVzA7h4GGJwX834Hv3W6bs/ug78VC+p9JcbzvQ8+V6558lwpj48H1itQhdI t+1l+ekR0zeEGxOqDFy+srYLD+ULMeHHYTlA+7V7qliffOgd7nyHubuIYgda4l4j1Ab/ MRfW6yEhiDiMt2GsvwA8U40dgzmrphw7c6k1ofR9+lzHIaymBP30QzozBJiYBprUG8hE HBzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hyTEJ72c290RKok30zBTY2tyxc0z3JYF2rAOpqGzebU=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=ZVGo/jN+1CT3AoF1HczqzA4tsZjHIDQsZOU+U3QLlpG0MLfFqZSiMBu6GoYhMpopqE Z5sK1AJoliGxkrKfQ291B0ihmR9Yvn0zppp+4o9MNzcZXArJqLIvJ7ylgYyD3wgpH74/ kkz6nNtmrFCFCqkqkYAEi1iPn5k3v0HiDiULxeXyHxfeGNvoT3wg51pWDKXTYZLQTJIj YFyQRDMyEdm9sloMi3/anmPKjKGTrGOn9A0sjgZwKrJiZAdUMEFFfVdgNXfgiGF10B+N intWbPJJdlMFj3ApXhs1RNW33Dw0J1zrS2XwxERDKOLA6SenItgcUejvaqaJVqLrF/pf pw9A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=Ay32EVj7; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-4a65b7c26e3si2915385f8f.494.2026.11.17.21.40.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2026 21:40:03 -0800 (PST) Received-SPF: pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=Ay32EVj7; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=hyTEJ72c290RKok30zBTY2tyxc0z3JYF2rAOpqGzebU=; b=Ay32EVj7T4iF ZD83TpYxQQUQFCFXTNohEW8uHiReGyEqmrFO3K5ei/3pNyAApZ+WdyTxzpKfXm7/XscE0d7OBFO6/ I6bHBJeAy34ug/8hpjJLtFnpmMiSzBwmdq4SD0l/VjH/3+sZ7qAB8YkTbvVoOoNSBst0S3vWp4iWW Zv8w/9B/n8BY2ZU3LI2ngF+73VUP5MAcODQmFbIzNvf2D4JQLnME5momuz6Dj7bxPh4Fp6QMNXsqi XGaX+2/g1k0eX042IDi5i+TlF6LVcrVJfyutDAxmz8QacFLTJKIAGdUGjHVCEFBDjTH7lIOPcMfo+ 5qQH23qgdNivXn6u0/uKug==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xTYKX-00Ds9s-2A; Wed, 18 Nov 2026 06:40:03 +0100 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Wed, 18 Nov 2026 07:35:08 +0200 Message-ID: <20261118053958.1022750-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 v4 00/11] ms/mptcp: stability fixes X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org Patchset for task https://virtuozzo.atlassian.net/browse/VSTOR-153491 mptcp_join.sh test 021 never completes in CI: a link fails during a bidirectional transfer and the transfer stalls. The series backports mainline fixes for the two problems behind it: - Endless retransmission with csum enabled: A retransmission can send data beyond snd_nxt, the acks for that data are dropped, and the same data is retransmitted again and again. Patch 1/11 fixes it. - Receive stalls under memory pressure: Incoming data over the receive buffer limit waits in the subflow queue, and may get stuck, blocking further progress. Patch 8 drops it instead and patch 9 prunes the out-of-order queue, both relying on MPTCP-level retransmission. - Patches 10/11 and 11/11 are mainline fixes for patch 9/11. The other patches are prerequisites: - Patches 2/11 and 3/11 are cleanups the later patches are based on. - Patch 4/11 lets one MPTCP retransmit timeout resend more than one data fragment, so the data dropped by 8/11 and 9/11 retransmits sooner. - Patches 5/11 and 6/11 keep the window announced to the peer within receive buffer, so that a peer that behaves correctly does not send data that patch 8/11 would even drop. - Patch 7/11 builds the dummy mapping of a fallback socket from the TCP sequence number instead of msk->ack_seq. Without it, data dropped by patch 8/11 and then a fallback to TCP would give the following bytes the DSN of the dropped ones, and the reader would get a stream with bytes missing. Left out of the mainline series, between patches 8/11 and 9/11: b1224c4b40f6 ("mptcp: enforce hard limit on backlog flushing"), as this tree has no backlog, and 996643574cc8 ("mptcp: avoid code duplication in __mptcp_move_skb()"), a cleanup. Mainline 0e24d17bd966 ("tcp: implement RFC 7323 window retraction receiver requirements"), which patch 6/11 sits on in mainline, is not taken either, and 6/11 rebases the same way it does in upstream stable 6.12.y branch. Tested in QEMU (4 vCPUs): test 021 with a failing link have not failed, against 3 failures on unpatched kernel, and the net/mptcp selftest suite passes with no warnings. The v1 also did fix the failures described here but was arguably a less coherent series of patches. Changes in v4: - Patch 3/11: __unused grows from 10 to 11, as close_event_done left the bitfield in d79fde42c8ab. - Rebase onto rh10-6.12.0-211.75.1.26.2.vz10. Link to v3: http://lore.virtuozzo.com/kernel/179491474614.110641.12640244411641860587.b4-review@b4/T/#t Changes in v3: - Add "ms/mptcp: cleanup fallback dummy mapping generation" before "ms/mptcp: explicitly drop over memory limits". - 6/11: A rebase note on the commit, based on 6.12.y tree observations. - Expand cover letter. - Rebase. Link to v2: http://lore.virtuozzo.com/kernel/179484894400.861498.16940306217017869314.b4-review@b4/T/#t Changes in v2: - Add "ms/mptcp: close TOCTOU race while computing rcv_wnd" and "ms/mptcp: allow subflow rcv wnd to shrink before the drop over memory limits". - 3/10: reword the rebase note. - 8/10: name the two skipped mainline commits in the rebase note. - Rebase. Link to v1: http://lore.virtuozzo.com/kernel/179450441149.4060562.12778470791653323060.b4-review@b4/T/#t Paolo Abeni (11): ms/mptcp: fix retransmission loop when csum is enabled ms/mptcp: move the retrans loop to a separate helper ms/mptcp: move the stale logic out of retrans scheduler ms/mptcp: let the retrans scheduler do its job ms/mptcp: close TOCTOU race while computing rcv_wnd ms/mptcp: allow subflow rcv wnd to shrink ms/mptcp: cleanup fallback dummy mapping generation ms/mptcp: explicitly drop over memory limits ms/mptcp: implemented OoO queue pruning ms/mptcp: being below memory limit is a likely() condition ms/mptcp: avoid pruning for OoW data net/mptcp/mib.c | 1 + net/mptcp/mib.h | 1 + net/mptcp/options.c | 43 ++++---- net/mptcp/pm.c | 43 +++++--- net/mptcp/protocol.c | 226 ++++++++++++++++++++++++++++++++++--------- net/mptcp/protocol.h | 11 ++- net/mptcp/subflow.c | 8 +- 7 files changed, 249 insertions(+), 84 deletions(-) -- 2.56.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel