Article View: linux.kernel.netdev
Article #26086Re: [PATCH RFC net v9 5/6] net: virtio: compute the outer checksum of non-GSO tunnel packets
From: Showta Ishizaki
Date: Thu, 03 Dec 2026 01:39
Date: Thu, 03 Dec 2026 01:39
11 lines
7985 bytes
7985 bytes
On 2026-12-02 15:06:38 -0600, Chris Arges wrote: > After doing some testing, I found that non-zero Ethernet padding causes > full-checksum fallback to product incorrect outer UDP checksums. I was able > to fix my tests with this change: Thanks -- you're right. I reproduced it: with non-zero Ethernet padding and the inner checksum completed in software, the outer checksum comes out wrong on v9, v4 and v6, and your change fixes it. I'll take it as it stands in v10. Showta
Technical Details
Message-ID:
<20261203.rfcv9-reply5.zakinko@snowrabbit.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376196-linux-kernel-netdev=dewy.ruReferences:
<20261202.rfcv9.41657.5.zakinko@snowrabbit.org> <axB_NPcujvScN_OI@20HS2G4>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376196-linux-kernel-netdev=dewy.ru From: zakinko@snowrabbit.org (Showta Ishizaki) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH RFC net v9 5/6] net: virtio: compute the outer checksum of non-GSO tunnel packets Date: Thu, 3 Dec 2026 10:39:13 +0900 (JST) Organization: Usenet Network Message-ID: <20261203.rfcv9-reply5.zakinko@snowrabbit.org> References: <20261202.rfcv9.41657.5.zakinko@snowrabbit.org> <axB_NPcujvScN_OI@20HS2G4> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="2107184"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:2H14xmF/cd1i8FDfY8joz/4bbKw= sha256:bwigXKGLIxHCR8u4M7RBARTBTFsxND1rcPOswecH5Co= sha1:hemjOd206z/9xu5NHHnufSnsyVI= sha256:o1+4Q5qkjxtlWe3F8AVge5ef8tfjU/AUja5YUiSqwGk= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 8C0E21177DB; Thu, 3 Dec 2026 04:39:28 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.951 X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QeA7VK1NcPov; Thu, 3 Dec 2026 04:39:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-376196-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=snowrabbit.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 2CF18116175; Thu, 3 Dec 2026 04:39:20 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 502DD2410B; Thu, 3 Dec 2026 01:39:18 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796261956; b=HX2xMpPJwz3H/mci6sISVcs5ajUDQ51ehVv3qE5RfUWT5ckxt3bRMyV7e1s8wDzMoEYx MNPS2YLJw9PSk+hWBk5C4pAweLvRoWWqaYZ7/DMcqbldMnJZAFqRnZZyIeRqb6z3Ejpat wfXxSWGqY5k1lHCiqhZqpFGJUNn+r75iKgpK9fXYQdTLesL6hcz6SKHXNTBfxwN301dP1 Lkq30KrfgnR/3Wh7UuNQUYdHZZNurI1DHsfBCYe0tOim3qgjzWE5SLp+Om73Ood7ficBN s0y+H5fmInSl/3cZ3KxydaZl2Cvr3FFwG4V25ciVAl+hDLo/LJdtUeuqdpg/JYOY1mw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796261956; h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject: In-Reply-To:References:Message-ID:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Date; bh=7uiTLiZrKx8b7dXoxCABwr62tNZOaAZnIpbqwRhPOEs=; b=QT3MW3qKyDD0bhLrwU7ll8w5rYOmFz1UWifYdW14s6Ji5KATw3e66W/HnKYnLDTCBiNr bRPGpTVj2mjYv/SbWK0ccoB6aOFN2kaVJiVtXAHOhYMYJPfb0Hr/kdfggz7Cq+qszJFTN IdjTfUyyQ992xZ3XmTm2fViaxWz11mX/ObBwUqjHCiWMaZzP+dFdyVx+fRDCSfHM5yOhZ 11/JgLVil59O8NKN8XYaUQIjSgZCIWpjU/0EvD4yeAO5MMWuJOjlYeQJpVUoSalFNXcg+ 83kSoyafy+CfckKn0wofcquELmeTlnFHV8MaRD+//nvCxkVuGbIB1NzBfdsjugkuHcQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=snowrabbit.org; spf=pass smtp.mailfrom=snowrabbit.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6537606A337; Thu, 3 Dec 2026 01:39:16 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=182.48.54.220 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796261956; b=azsBMrXkGoycOT7i1rbUSEWoC5EkQifV0pOOR8SAeH0FwwGowApqvUN/jMaZyg9e/Aly rvflb0uYg/QbIjSvPhEoKpcF8BvgGL/h7y3QCaiKEsiOuA1v4LCkVnbIneFLjv2KEA4Vr 9yaCktiM00PWqclPcl1o/qgRp7+c92m/NINDWdLfUkZujBqi1JpO/QW+wBWjzr7IsL6Ke ULD6lide5kEjvunPHHk3/auKrPjxEaCM/FQbRZ+hROnustxEyQDKmaO6Hv54yi1p3PX3d BjiYS51UIUMiaNuGJPWbyNFn5exZAoJYZ9YbmrnfIR44VvvfDrNdZq16jrAA47yuJwA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796261956; h=DMARC-Filter:Received:From:To:Cc:Subject:In-Reply-To:References: Message-ID:MIME-Version:Content-Type:Date; bh=7uiTLiZrKx8b7dXoxCABwr62tNZOaAZnIpbqwRhPOEs=; b=yFDVmAWViOFRWSa1DEK3kZyqyXl59vLyula2V3ktpbHrBBun4UsQLS7FKdqoRrnQiZmL FUDyARSbt7g6Ce77Svn0JvESgwvjbhaYDXi+OJXAD40zCmJi17iTt9zKr7nw+mIYwx7jI 3nzc3qBCigrMI2tFgpvneRhfeH2M93sJEo6HC98kQefZ+8onJzMZfDSDsWI8+APZsK5gq zL6FnCB9WOjAh7j0EPg4vUWPCH8vs+iehVuVrhijFskNF9e/CcG/fdbUYUCa0F26KMNHe 3pel3bzBO07neXh0goiOs+S4csfcj+uTXMMKXDgu8sM4xny3i7pY4jKI9otvhUmBPtg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=snowrabbit.org; spf=pass smtp.mailfrom=snowrabbit.org; arc=none smtp.remote-ip=182.48.54.220 X-Received: from bambi.snowrabbit.org (bambi.snowrabbit.org [182.48.54.220]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 123CE606A32C; Thu, 3 Dec 2026 01:39:14 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 123CE606A32C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=snowrabbit.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=snowrabbit.org X-Received: by bambi.snowrabbit.org (Postfix, from userid 3001) id AC1E0C92FC; Thu, 3 Dec 2026 10:39:13 +0900 (JST) X-Cc: "Michael S. Tsirkin" <mst@redhat.com>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Jason Wang <jasowangio@gmail.com>, netdev@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, "David S. Miller" <davem@davemloft.net>, Andrew Lunn <andrew+netdev@lunn.ch>, Simon Horman <horms@kernel.org>, Eugenio Pérez <eperezma@redhat.com>, Xuan Zhuo <xuanzhuo@linux.alibaba.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap <rdunlap@infradead.org>, Paulos Yibelo <habte.yibelo@gmail.com>, Björn Töpel <bjorn@kernel.org>, virtualization@lists.linux.dev, linux-um@lists.infradead.org, linux-doc@vger.kernel.org, Showta Ishizaki <zakinko@snowrabbit.org> X-In-Reply-To: <axB_NPcujvScN_OI@20HS2G4> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list