From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (unknown [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id E86478017D for ; Wed, 7 Oct 2026 20:24:52 +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 697KNXX0012053; Wed, 7 Oct 2026 23:23:34 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 697KNXX0012053 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="ocvimWnT" Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 697KNR9X012040 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Wed, 7 Oct 2026 23:23:27 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 697KNR9X012040 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-487038bc9b8so2948542f8f.2 for ; Wed, 07 Oct 2026 13:23:27 -0700 (PDT) X-Gm-Message-State: AFq9FYKJKYrGt6q9/acBS3kvx6Cmu6t2Bs2rclmRSsbuZ498LtO3phO5 G8bUK4+BptUZ28GZ7v/BZFp6uYg3dYzHWCB81nBHtUFNU46/sjWNKYDjHXe3o3/ds19BdcQg0hg MEvaIaeuA3N7TJpVMEvqhhKWlW/s4zxhPzmYGRRU4FDKwlODk2mVPRg== X-Gm-Gg: AYBFou1BngQHdmVf76YYl8S676bqDMOF32xqDvoFgPpX+AsEmeRlxwoa6hsgom/mqOF h6q6xeBetM4ExWMZ/2vU0ne1qXWapbZPo4aQFiMdJFB3B7hWuVKlEWtvVB5R4E+gimxzjz6G6ek Jq6oWplbCXGbkorZSVoJDqDx6S39+4Uex2eEH2khyihXVS8FJ6kJ+Ror6BOMMv+ohQRN/bxDJtr wwMTxRYY4JdwNfit/AP9XfbUMPS4t0s3fwH3tT228xPVT29HBgYJw8ThOPBDNkQXXkV9IxGMfuh HYl9zs3jrtrYmnRNVjFypRCwFsiAcnfzV8312r1Cezt5kilWlHqKlJ/MMIR74Xk3kNKG4UpXi+8 RPlBz+Q6cCoULVSBgpNSlWu+A X-Received: by 2002:a05:6000:2613:b0:487:8b9:526a with SMTP id ffacd0b85a97d-48c7288f270mr6354606f8f.36.1791404606875; Wed, 07 Oct 2026 13:23:26 -0700 (PDT) X-Received: by 2002:a05:6000:2613:b0:487:8b9:526a with SMTP id ffacd0b85a97d-48c7288f270mr6354576f8f.36.1791404606323; Wed, 07 Oct 2026 13:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1791404606; cv=none; d=google.com; s=arc-20260327; b=MnAwJDe1z7CKLrs5DR6U3mfSwCxkEq7tjV7GaIFcfOqt1TQixHNoc3gtsfo6wfG0d7 fyF67rWQXjms7D44PGI25fBv4q1Ci8uoFOtat5lm826tpbukPSssoOv/KIzf5dJ2d4S9 9SNeQ4I0HRwjSuEVobjOB5ZyB7Kba/LNw4ms5PrzNEbN65YHcGnIBwRKQYgQm1ZIOuXf ZzpqGNwNs1wG7gN/MG6kG1jLgYm/NGaVd4e3TY1iY8X1Q7+3lqNoNJwuevcD/MzVePer hSZbvIuFxeSO8wC1BtXkvSW5TOOzLs9AKO75/5fHviZ9kDT2CESqPCZu74QPU6LH6HFS d81w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=AW/TJj2ngWIaFOGyzfost76ZbGZ/OdCNEfY1A+Atra0=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=h0586AV7RcLRFLnCzV7prHbVdSgrljz+Fp7UL8Ns+Z0vnQUmEDHvmlphGtai7aZUte fUTemXd3vJ4wgs1Dk7Z8TdaUhqxL2tM30xPxUMkT7qPqbm9G7vBIQELrg41eqiM3BfnA 6L8jSj7Ft5biN7mwi1EowuNbFBZU0zt7++kO/9XyhGx9KES85oAE9QjX4FiMdc7rjU4f 88AyLTX8lnmhtA2JsobiGkD/kSh3aWGFbUGo2LLG7XEjPy5YuTRkkmFEM/HzXIzXfXGl LeAgTKlYdZEMOWFnKoCWG9uI4wTMn5buGViNDs36AQj79nSeCMRJisVjaQKYmsn/6e96 3Kjg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=ocvimWnT; 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-48c7246769fsi6127554f8f.65.2026.10.07.13.23.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2026 13:23:26 -0700 (PDT) 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=ocvimWnT; 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=AW/TJj2ngWIaFOGyzfost76ZbGZ/OdCNEfY1A+Atra0=; b=ocvimWnTzDGL 1yQYGwfDFQrbS3wTbRDnVninIjLR0cimBID78sBTYdTKbgtWyJreE7DBCCj5s+eHtPNS97/sQP7jH +avsAKGahuXyxfvZmbouvldt5xrl4bJtvdGlua0vwDCsTfMU2uTu3ymYLommgKlReXPtFNCsSYpZK 9EtMruBX88giAgvhm4ZxpFFD3EiB/Bio9c5rgYAmkBkC9DF1uDwS975TTBgJ12xj0XLrq9f8SDg51 Aeix7aFim7w8N6+Fj81K7B1J8a2rXTigkdR2IcWcwmcp8meEX0duys4TAf4v5ToqewQExdAjH+JD2 zELJr7rDRur7YHr+Y49LxQ==; 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 1xEY7P-00CSlf-0o; Wed, 07 Oct 2026 22:23:24 +0200 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Wed, 7 Oct 2026 23:22:38 +0300 Message-ID: <20261007202324.2719416-2-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261007202324.2719416-1-eva.kurchatova@virtuozzo.com> References: <20261007202324.2719416-1-eva.kurchatova@virtuozzo.com> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.1 1/1] udp: let rx-udp-gro-forwarding aggregate under encapsulation 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 The rx-udp-gro-forwarding checks of the veth selftest fail with "got 10 packets, expected 1" on a host where something uses UDP encap, for example a vxlan, and pass on a host where nothing does. Since commit f2e9de210d50 ("udp: gro behind static key") the receiving socket is looked up only once a tunnel socket exists, and commit 36707061d6ba ("udp: allow forwarding of plain (non-fraglisted) UDP GRO packets") takes "no socket found" for "forwarded" and aggregates only then. So the device setting works on a host without a tunnel and stops working with one. Aggregate whenever the device asks, socket found or not. That is what every host without a tunnel has done all along: a local socket without UDP_GRO gets the packets resegmented on delivery, and a tunnel socket keeps its own receive path. https://virtuozzo.atlassian.net/browse/VSTOR-139651 Feature: fix ms/udp Signed-off-by: Eva Kurchatova --- net/ipv4/udp_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c index 4245522d4201..375273572ecb 100644 --- a/net/ipv4/udp_offload.c +++ b/net/ipv4/udp_offload.c @@ -650,7 +650,7 @@ struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb, if (skb->dev->features & NETIF_F_GRO_FRAGLIST) NAPI_GRO_CB(skb)->is_flist = sk ? !udp_test_bit(GRO_ENABLED, sk) : 1; - if ((!sk && (skb->dev->features & NETIF_F_GRO_UDP_FWD)) || + if ((skb->dev->features & NETIF_F_GRO_UDP_FWD) || (sk && udp_test_bit(GRO_ENABLED, sk)) || NAPI_GRO_CB(skb)->is_flist) return call_gro_receive(udp_gro_receive_segment, head, skb); -- 2.56.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel