🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12328

Re: [PATCH net-next v3] net: usb: lan78xx: fix error handling in lan78xx_open()

#12328
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 21:30
27 lines
8840 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  2 Nov 2026 22:11:19 +0100 you wrote:
> A failed interrupt URB submission leaves NAPI enabled and EVENT_DEV_OPEN
> set. A subsequent open enables NAPI again, triggering BUG_ON() in
> napi_enable().
> 
> Clear EVENT_DEV_OPEN and disable NAPI on the submission error path.
> 
> Reproduced using failslab on a Raspberry Pi 3 Model B+ (LAN7515).
> With the fix, the injected allocation failure returns -ENOMEM and a
> subsequent open succeeds. Verified connectivity with ping and SSH.
> 
> [...]

Here is the summary with links:
  - [net-next,v3] net: usb: lan78xx: fix error handling in lan78xx_open()
    https://git.kernel.org/netdev/net-next/c/1134247a3ae5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179400060443.882790.16081277711944956747.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358183-linux-kernel-netdev=dewy.ru
References: <20261102211119.8738-1-stefanomunari.sm@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-358183-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3] net: usb: lan78xx: fix error handling in
 lan78xx_open()
Date: Fri, 06 Nov 2026 21:30:04 +0000
Organization: Usenet Network
Message-ID: <179400060443.882790.16081277711944956747.git-patchwork-notify@kernel.org>
References: <20261102211119.8738-1-stefanomunari.sm@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3980619"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KQJAVYSyVPFGoE2MKAWoN9WbA9k= sha256:vLE4DWbR59eMhIMwyBhlKyw+CHtld2tQUcKOlnXnkmM=
	sha1:8fJr99u/wkOI5P+PPQUhn8Xa+e0= sha256:+FBG+cZ/Jx56Ztx+Zfgf81p4X4B6gOkQ1tUFKXxsRaI=
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 997BD113340; Sat,  7 Nov 2026 00:34:32 +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 79HK6i1UmOH6;
	Sat,  7 Nov 2026 00:34:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358183-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 26DDD11333E; Sat,  7 Nov 2026 00:34:15 +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 BA7D23C9BD; Fri,  6 Nov 2026 21:30:08 +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=1794000608;
	b=jKosVZmKMePtqKIYpftBKbHjUgMd3ctM7TwqqiQ2Zh6wtOyyXn3YKRgMAa9ABkPlk8bl
	 fUYxy8G1uc9EL+2myejughvn1s5mWJpT1DI8xoAxvPG7nmg8edZtXJ/5SO4qm3iNRS1yK
	 rOtqb3wk+OgRsKC/OPxW/TtpyHEpADZ2yf4o3jb3yMbYNXfzpcUCz/Afh/xMhXGeZGGln
	 Dsr8RbiQi340gSsxrNF8SrA2/WO3SJnlL8OlrNfFMVMu1LdTV5i/Nbon8baZEQ9YCPV3u
	 8pksaq3pR6jNghZTgSl7FZH1N5AOJh0m9g+OK/niXO8EWoIafn9pdLjCh2yIpS3HFGA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794000608;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=4CgnqH7ekGvYe+n0a5qLsnJYa7U8r8mohWy8/3bmXo0=;
	b=2XJFIPleTtJ6gGoxkNFTjE515aWR/D7+WmSBLreC/zYBgU9eWpVi1zgHWaBAn0dk486C
	 ANZmkIix8DM/GpAPqDvifyJ5MKyKiCSDKtPeQC+y4vNaFq6faMtJU+OKDWqoQdViOBWgO
	 c65C/9FM/Elmn5323GELAXaVeJKfsJulo6l1aKrecjCt307vmOkOmLep2ndJiXtmlvhZi
	 jFMGc7DhZ7ipiGVBwgt0QfSqk/kAyCRNE8DJ1cvaZR1+XmFUQXXkto/QOvtXzeQD2/jEM
	 XrzzJPJr1FRvPQA0wFxuK6tghegh+sucs3pyn78A77by818guqKc3bkmRAGK1YRAu7g==
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=ANHrQy9M;
	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 8F3AD606A335;
	Fri,  6 Nov 2026 21:30:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ANHrQy9M
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=1794000606;
	b=XPo9hRPvHYpXkxcswbgrINyB6Q1g9+7UCufetlGTw05V8WuVF/ZBKoXwnXOKAt+aKoLp
	 3tIp9jzAwKAk55OwcrD7ISkdZFryToQqfJbVlyzr/B7QRFuqFFyeO8T6OY6MO88zYhp0A
	 GcTixzmkXBnVIYdJLtOz8yryspExb50w2LUrlqlTuQ47XaAoIhpKDZeE+pxM39IJarm21
	 6gYnZGQjk8N9t9u6agel1+kl/gQhVbjYcJo4lf5OMry56aK8NGINU522GGsPQ4gCv0X4P
	 OMyWxOxWvlrVmFTv/m9OKq5Tj2rys6ArfuN2cYuzyOrLUjy9bMy4Ku2phXWTFoPEAxQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794000606;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=4CgnqH7ekGvYe+n0a5qLsnJYa7U8r8mohWy8/3bmXo0=;
	b=Xt7qvs5ilLqj1/Aa3iXAQJ9GdwRKUPgqn1K3zgu58Bbtc0+ZluKjOGeXkgYz8SRwX7/s
	 rN6ss6Jt/2h/mNB5jsEHLegDG8zlhOOUCcDCgX/t/w/sVFe//17CPHmfryPL0XD9VunHZ
	 Teby5lI2cFkWvPmS+HEBtIw+mLrDJfDcE3Rt59vTXsp0s6yjXU8TZK9HLLdG4LX6rpOyr
	 HpvnD+G0rQ6QAmLRPf7IYc/l2Y5ILTs5Tt+OrIdWjswfdIQJSVe0HvRF2270aaInHSD23
	 STWbZezfu0EPTgAksr++lYRV6ccu9QeJkjK1t9InJWg0ydeAptABQ/SvrAzV360Js1g==
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=ANHrQy9M;
	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 18B6B606A333;
	Fri,  6 Nov 2026 21:30:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A48BF1F0089F;
	Fri,  6 Nov 2026 21:30:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794000605;
	bh=4CgnqH7ekGvYe+n0a5qLsnJYa7U8r8mohWy8/3bmXo0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ANHrQy9MNPemXQYEopKJNU5K6vnsnWbxyrbsAaFp5tS7/XZg8SJFrgpCvur1y9lax
	 bxOtPe65gaKTVK+hlMT25ZEZCHzHFGK0VMWLuNMyRree8FxI8H5UWdt1dndB6gBozJ
	 uhR0LsltZsIfB6CJvkEMbgYvZ2JJIaY3focq5GFhfcTgfLY1n3auyhRT20yWLrvXj5
	 Ygf479lNsyRVsS8F0a+H0s/gL3URGKW3dmNch7eFt2g/CE7whoAffsdkuxgL0G60gv
	 HccrYBzK+HmobvflCIhtPUd8LLidSEWj7kVV8t8VVMiocW+nY/A4GEBY8+qmTWkkC1
	 WAoCGQVPP14aw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 9B2CA3A4161B;
	Fri,  6 Nov 2026 21:30:05 +0000 (UTC)
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
X-In-Reply-To: <20261102211119.8738-1-stefanomunari.sm@gmail.com>
X-Cc: Thangaraj.S@microchip.com, UNGLinuxDriver@microchip.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, nb@tipi-net.de, netdev@vger.kernel.org,
 linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org