🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #126

Re: [PATCH net] bareudp: set the inner protocol to the protocol of the packet

#126
From: Haishuang Yan
Date: Wed, 07 Oct 2026 00:49
14 lines
6556 bytes
On Sat, Oct 03, 2026 at 15:01:48 -0400, Willem de Bruijn wrote:
> (not for this fix patch)
>
> optionally tools/testing/selftests/net/bareudp.sh could run a stream
> test besides/alongside the ping test, to exercise this path (with
> segmentation offload disabled).

Thanks for the review. I will extend bareudp.sh with a stream test
with segmentation offload disabled and send it to net-next once this
fix is there.

Thanks,
Haishuang
Technical Details
Message-ID: <20261007004928.1268339-1-yanhaishuang@cmss.chinamobile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342271-linux-kernel-netdev=dewy.ru
References: <willemdebruijn.kernel.d7c5ac3be7fc@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342271-linux-kernel-netdev=dewy.ru
From: yanhaishuang@cmss.chinamobile.com (Haishuang Yan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] bareudp: set the inner protocol to the protocol of the packet
Date: Wed,  7 Oct 2026 08:49:28 +0800
Organization: Usenet Network
Message-ID: <20261007004928.1268339-1-yanhaishuang@cmss.chinamobile.com>
References: <willemdebruijn.kernel.d7c5ac3be7fc@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="613168"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BMUqqE8+TGJxJ0jVJgSawfctSzU= sha256:Ecdrr+AsgdT8ppXILLugVHImcjg8lUhMjBv2ogMitA4=
	sha1:Cn59cuOCcIW/vihv0oJqJzvZe+I= sha256:M3nt5El2ZCYnF9L+8OSBJA0Uf3wTZlCPJ6OQ9IJJHtU=
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 A5CE810F121; Wed,  7 Oct 2026 12:03:16 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: 0.652
X-Spam-Status: No, score=0.652 tagged_above=-9999 required=6.31
	tests=[DATE_IN_PAST_06_12=1.103, DCC_REPUT_70_89=0.1,
	DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (1024-bit key)
	reason="fail (body has been altered)" header.d=cmss.chinamobile.com
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 T4nxqOAlUmIL;
	Wed,  7 Oct 2026 12:03:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342271-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cmss.chinamobile.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id D593210F0FF; Wed,  7 Oct 2026 12:03:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 3D9373E71C; Wed,  7 Oct 2026 08:57:53 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B470E44605B;
	Wed,  7 Oct 2026 08:57:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.b="rYKzFInG"
X-Received: from cmccmta2.chinamobile.com (cmccmta2.chinamobile.com [111.22.67.135])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DBA93B7779;
	Wed,  7 Oct 2026 08:57:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.135
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791363472; cv=none; b=aSb6A+mzYa11CmtScMfMyPSN7xDxLJHdzJi2AzO+WDZphJN1iHKyqAOceKcxqSuFGtrYtdU/znSDWapE5A8POUgZNNLp9H50LE5gzhVxQZabzFvpRETp+q9vdqjlvD8Jl3mY8YaMcwQlS+uUDmXFY6L7dYMAC/xt5kcDHLduNTE=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791363472; c=relaxed/simple;
	bh=KDVlpvSPGRQwQHIvuNTYp3hQ6fScOFke+387t4yK93w=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=Du/q6G4YWhLPJrzDJ3Vo0WVrESVFtKxIT9cqozNON7JqlMfzIwlFQz55DlFpjNmjfYIjK/lhqUHNpVrvda72EJ/oRVxHQe+MZGWOV1chXYwYU2OOkjCIsdXAEr+ZRFLXFSiOg8ptcjjxgyVM3O7gDiXbdu8zmm59A189SUIvHDI=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; dkim=pass (1024-bit key) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.b=rYKzFInG; arc=none smtp.client-ip=111.22.67.135
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=cmss.chinamobile.com; s=default; l=0;
	h=from:subject:message-id:to:cc:mime-version;
	bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
	b=rYKzFInGW8/TIRRucFgfQQsWDavnoFAAjzrgW6/wZ9TdJkDbSUBRHyiCqKe9t5EAjN0nqgc6nUHlE
	 pQqmNGqIaLRuJnC6di6GOvBhDovCUcMjEnohcjnfY3QYU1of1pr6guohP/t/++9gd9GhgcZfk5fE8N
	 YhwfhLrJ84DLnoJ0=
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from spf.mail.chinamobile.com (unknown[10.188.0.87])
	by rmmx-syy-dmz-app07-12007 (RichMail) with SMTP id 2ee76ac60985d69-ac9a2;
	Wed, 07 Oct 2026 16:57:41 +0800 (CST)
X-RM-TRANSID: 2ee76ac60985d69-ac9a2
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from openEuler-24.03 (unknown[112.22.250.209])
	by rmsmtp-syy-appsvr02-12002 (RichMail) with SMTP id 2ee26ac609747be-e442e;
	Wed, 07 Oct 2026 16:57:41 +0800 (CST)
X-RM-TRANSID: 2ee26ac609747be-e442e
X-Cc: netdev@vger.kernel.org,
	Martin Varghese <martin.varghese@nokia.com>,
	Willem de Bruijn <willemb@google.com>,
	Alice Mikityanska <alice.kernel@fastmail.im>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <willemdebruijn.kernel.d7c5ac3be7fc@gmail.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>