🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16086

Re: [PATCH net-next v5 0/2] net: usb: lan78xx: do not use uninitialized data after short reads

#16086
From: Jakub Kicinski
Date: Sat, 14 Nov 2026 00:32
9 lines
8207 bytes
On Wed, 11 Nov 2026 09:34:52 +0800 Wei Jie Law wrote:
> Testing: the series builds without warnings (W=1) on net-next and passes
> checkpatch --strict. It applies unchanged to v6.12.105, where it was
> tested with a LAN7800 emulated by raw-gadget + dummy_hcd, booted with
> init_on_alloc=0:

Why are you testing this on 6.12 if you're just using a gadget and not
a real device?
Technical Details
Message-ID: <20261113163219.16603c83@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363018-linux-kernel-netdev=dewy.ru
References: <20261111013454.34542-1-law.wei.jie@gt.tech.gov.sg>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363018-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 0/2] net: usb: lan78xx: do not use
 uninitialized data after short reads
Date: Fri, 13 Nov 2026 16:32:19 -0800
Organization: Usenet Network
Message-ID: <20261113163219.16603c83@kernel.org>
References: <20261111013454.34542-1-law.wei.jie@gt.tech.gov.sg>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1476482"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qbgPyBGZN93t2fjbnFVFtLgQ7f0= sha256:fvbukRpFUlJVzlfFPmkEb/CaqrWyJDKqISzYJHjoEUA=
	sha1:JJDU/H9gmGlGTMjCXTFZNZT/FBk= sha256:pa9+Mod7QgJKcpqvNA2j+wKNzePYQXgheYfSyivjTMg=
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 B8471114714; Sat, 14 Nov 2026 03:32:46 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 P1rmgARMyfPV;
	Sat, 14 Nov 2026 03:32:43 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-363018-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 983C111470E; Sat, 14 Nov 2026 03:32:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 5263B3E453; Sat, 14 Nov 2026 00:32:33 +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=1794616347;
	b=Hp3gfcy0RohNcyr1hC37Vv353sbKVuF35uTSSOzJNCHnY5TgsFkalmLSiSt7sPDtPaK6
	 bYPypLfqOpq23cCih+hynXQsNwuXB8hRgN8kIq0Dr3w1TAjkBRVIz73o/H5iKUh1Id9Yj
	 QWvnWCmP0QvZUPfPE7G3DHKA0o5fvk0MXrdTsWBfDCSrD3U4q03GPbZDmN1Px/nLZdHJ3
	 LrAgdhD6nNtcHe4vSAesQ2ys1jSjQXg0PSuXEOUjpaTh1YhemK172iesN7gT+BdS48wCr
	 eioryWlL8MobNqZzzi7nT7MbLug3n7wbenxEtSrWsABvNZGNFpnln65/99iNo8Vsepw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794616347;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=gkbU5EDdzYPCddiCey58CsoeSyTe1/vy92g3Bk6idAA=;
	b=HUVbIvowmfxrqxfRKAFw9mg6CKNw6FlM9vWscKdYa7OYeabqgRXPKRBgKBw2A8RqYs/v
	 +jYBZWsFGFvFAcJBRiOKj0tQFbP3Han+s3Qan5oh0MFIwOzq4fdCCAes1bQSiD7eWFOvY
	 /Syg2L5czd7sFT2N6NXprZBGHA1kdPVcJPVbnb6kS9v3UXb13NDDu+lkMo79sOVfokTiL
	 yApZ9CYGYvnuYL+qPGgzhTS6jTRkMC3kK5YCwxuLpyc4F3+BVhFqZFSHd+6kuBpWHrL/8
	 Bs9uoPa2ejudkasL/dD1De05hx/J2jx8IeZhffr3RrBdl0XCnJOAFNDHi6rANIkWThA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gq6mhsjJ;
	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 3379B606A88C;
	Sat, 14 Nov 2026 00:32:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gq6mhsjJ
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794616341;
	b=jnTE2hxkBlA5ueqOVFE4dj+irjvM92cKKaBTrlXnOhuNDn5I1A6+XyJDudaVDOL+K7ON
	 Ou0n4f/sC/dCKuhbKQOeRheXHDMIpX2rX8G1/GmT0rFWvZ8RCwIphBM/xKHr2Xjfm4u4e
	 lkly66nv+EYS/I+2HXKVixbD+ILUf5qZFwFC1So9K65azRIKIt7EMh2oy5rLjxzmhsamJ
	 koEx0tK2zh233IvlST8QsKzBgIyx0tgZ0bDFaUzPF7iuY8cE7RdL2nhNk6hrSZuj2faIh
	 byCwPva7rZ3m5cfbj8sWBk5xCoAxVDWTg4ugFKOM7fD0IuFoc9nPWez6E3AaiAShXjQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794616341;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=gkbU5EDdzYPCddiCey58CsoeSyTe1/vy92g3Bk6idAA=;
	b=Ur8Z8EwDZJaoik4V897cmLdeK3G+q2GVcfzUKGTtx6DhCobHc6H9Dg2QqCYQlrz3FTsD
	 Z9+PJ4fCtIiXgqrdaFeyGgUp8VlZq3m5UT2EsMwd/GM689I0mmpCcOpgc+CSdLonX0RyQ
	 502dFflzLi+SgJtBVzluLZqHvX6n3mfDrRiLHyp+0bXC+zFPrIU/vvmf+WDOP29Ragj+f
	 apeR1csWYk5pl3FjErHNRw5Lnl5pFGvy0ximG+WK1iySOzsuzRiY4I9lSaKD5qKpcHHEb
	 +4BpAbdn+0CPkAHvD0A6Zlv+HjHXP3p1KcUFEkUwqvUuY5SRYFGdgus6vwT6HeOKUFA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gq6mhsjJ;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52387606A339;
	Sat, 14 Nov 2026 00:32:21 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8221C1F000C5;
	Sat, 14 Nov 2026 00:32:20 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794616340;
	bh=gkbU5EDdzYPCddiCey58CsoeSyTe1/vy92g3Bk6idAA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=gq6mhsjJMcUOVK+DkCQqf41KJbVhP3uZcvZWnSyromuysQREI5cerdRsohIeoKMDr
	 +46roK4SUABIWXZkBApNuPv7yps8t3/ruyCfc68/j3xnJqukgzYBA3kypmzxcc4UER
	 dlVqqU6v5wWN/iBAc/zUGTNcpJhGvcb83/fJ0X2nKFXnKtysGHs0dHu+//o0aNNKZl
	 W+NMcQUXyG4vB5bAPGQkI0P3g8KP0214C+/tg9e/U+hdNWpyP6INhLBpyOuFjqBEmc
	 y0l/FNcZkrpq/PUyub5ZR14ZlApiKYRhW4W7Q6ymX4D0hA398WrTcPElS/asmoFVR5
	 V08r9c+SDnG8A==
X-Cc: Thangaraj Samynathan <Thangaraj.S@microchip.com>,
 UNGLinuxDriver@microchip.com, Andrew Lunn <andrew+netdev@lunn.ch>, "David S
 . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo
 Abeni <pabeni@redhat.com>, Woojung Huh <woojung.huh@microchip.com>,
 netdev@vger.kernel.org, linux-usb@vger.kernel.org,
 linux-kernel@vger.kernel.org, Wei Jie Law <98lawweijie@gmail.com>
X-In-Reply-To: <20261111013454.34542-1-law.wei.jie@gt.tech.gov.sg>
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