🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5687

Re: [PATCH net] net: hix5hd2: serialize timeout recovery with interface teardown

#5687
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 20:10
27 lines
8916 bytes
Hello:

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

On Wed, 14 Oct 2026 22:26:35 -0400 you wrote:
> The timeout worker calls the driver's close and open methods without
> RTNL or a running-state check. A timeout queued before an interface is
> closed can call close again after ndo_stop has disabled NAPI. The second
> napi_disable() can then wait indefinitely. The worker can also race with
> an ongoing close.
> 
> Take RTNL and skip recovery when the interface is no longer running.
> Use the netdev core close and open helpers so a failed reopen leaves the
> interface down, rather than leaving it marked running with NAPI disabled.
> 
> [...]

Here is the summary with links:
  - [net] net: hix5hd2: serialize timeout recovery with interface teardown
    https://git.kernel.org/netdev/net-next/c/87cce46329a8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179252701752.186787.4792188707479278669.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-349535-linux-kernel-netdev=dewy.ru
References: <179203116093.2621539.3718842986255459438.G202@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-349535-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: hix5hd2: serialize timeout recovery with
 interface
 teardown
Date: Tue, 20 Oct 2026 20:10:17 +0000
Organization: Usenet Network
Message-ID: <179252701752.186787.4792188707479278669.git-patchwork-notify@kernel.org>
References: <179203116093.2621539.3718842986255459438.G202@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3946674"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:eap0U5i+2Cao/C2AoP7GIF8Dj5M= sha256:5rf+rxkJnq1oZGk4idKWRJGSnwrr5ZF1sBjCkCWiJGA=
	sha1:kqU8WRT/L3zYxYVmhJ/A4szkj6Y= sha256:kBqto8Mf9W5YhQmUXaK/KNtY8ESHPpovhYsbknxf2uk=
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 9B363110E25; Tue, 20 Oct 2026 23:12:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 hPG-N_Kd2tFr;
	Tue, 20 Oct 2026 23:12:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349535-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 A8D2D110E1E; Tue, 20 Oct 2026 23:12:47 +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 ACEE8370F3; Tue, 20 Oct 2026 20:10:30 +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=1792527030;
	b=CGbdlB6Flgkjf70B+EO6FuLXB+rOh6kp695F7fHHky2Rx2v5sQGQ+MuRaeiAfsAeFyBL
	 ZAm458njf+B69lWd8Hrq0HYL0sFlH/4CscWk/d5XFkuESQryFJYy8jb0UUvL5fs2+GIzu
	 u+Ew4FMJdsUWyr76H6DXKbHyi3fOvh+ME1y1nyKqh+pCHnxYn5zmS9iH/Ef7fk1xIsLVi
	 5gdT7NLltND/K2Y0vUElkMOubmYa6uQDrpGw4COLK4ua0v3LlhHQUEHnki+Mytob1k+E4
	 BJ+hQGRP5hOdgBRf6JLZdNs/1j+oyT9mJT1HWWBxHk2prBFLDkVB5PGcsJS/pDM7nUg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792527030;
	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=J3GZrWN/skKkFItCr+vLZpAakLmzUQqC7xctG3rMm+U=;
	b=v2daV7kUCACglkF69Tqvp5WorzraqlUT7m1rFomnGCG0/UhPPzPs5TWNAFiNliRShOaO
	 qinkDzZTujBzdrNyLFRMb/zRCowu7aAugEMi4gKrDJJamSnGDwSJuAJHcedHN3xH/stkY
	 SaNdT95tzp2XFdPXbl++wBpeIhIDnCclus5XQpGqR3+SdtcVO8a7NlmQxK8YXzqoR6okz
	 R3yANo0frksBQ8WY4WcqhD9dWrDMOAEc96FOhk66dnQyClnmCbS5xHQOaBXAEqGxcS2Py
	 dnkoJhrY/y8EPDkOAaZ4rq8VATjyHONhMwproYtVNHERMTxVovIMfl1yYBbkwpNYcGQ==
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=HEhIxgUQ;
	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 820FB606A31F;
	Tue, 20 Oct 2026 20:10:30 +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=HEhIxgUQ
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=1792527019;
	b=SZ/3JcSgfr1qN56Y8SSmi3tajSMXKiRwgXybyMl6cZ7snqEtV4TBsTbZ6txoHxq2OFcf
	 O6AKewjBT4ez3frkup5tIfZb+Y2wHqA3psxAI/APJhMaqqVyE8Zhe9xk0A7QKSqqaOPA1
	 UE+OnuABs3D62BvZRpvd16khqQY1XQCjHPO9pog2UR/bqjLHqQD1D4jhTO3tSlsHQ3b2z
	 lPPBrBGs5zx067OX08rFnon7QYdcFJRzV9TZevmlp4+GoN/wW/4mMRbnOvrMf8GAvEq41
	 z7KNajJHxZ/L8gLl8h0hL8L/nBrZ/DYu8y3SIKgAIX9aOPvlVI8uqX/cO+bSZlCBlpg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792527019;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=J3GZrWN/skKkFItCr+vLZpAakLmzUQqC7xctG3rMm+U=;
	b=qlwpG7mmQo+Ai0g+qntQqyvuY2XXa1cH7n7JHgXVGAjU4pd4semGMX0VPa+Q7Oy1qxMZ
	 kjvL5QlGOEzQiPRnmSTG11tD/k1wDujFL3r3YRdmF8ps+kL7y2875AVcTxOQwza9vKH1Q
	 BWGCQpmWuGDYyykXOh+2qBS1hKpcn4o/+Q38PDI+nMmuIA3mlKC/bSuB95enHkAlFe1yA
	 EcCzvyvjtEuP9GX2low9AK/zU0LbbNgngCjyGD/bEr5O+KsyZHahjy/neaK9mPM5QQ58c
	 NIuHjIQxjBZa7s9SCwzyqTlPr70u50Y88LD+KcQ6DKlyOSBQQDOzNSiSCm1GEUeT5Pw==
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=HEhIxgUQ;
	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 60728606A319;
	Tue, 20 Oct 2026 20:10:19 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05D2B1F000D0;
	Tue, 20 Oct 2026 20:10:19 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792527019;
	bh=J3GZrWN/skKkFItCr+vLZpAakLmzUQqC7xctG3rMm+U=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=HEhIxgUQI8fl18vVaVhEbNyISHP5R2NLcxDWYxKNRRnuprspFqiKglBnqg0a2hsxL
	 8a0T1u5Xn9bG7hQIOh4Q/xQCj1QmiYfZ9PDskfKPD0125rqQsw49mfiXQoPALnmSfI
	 8srs29NTJisNj1J+uFrm0DyyCMRLO1ioTAG/2LYujbL+vFg4q0zFR6L/COKiqDHe+l
	 iuY2V6t7GrOa9rNJVzaoFlnzB7IH3LV/4SsoWt+7lJuGrYoDbOyawcxJaQ+DBONE6Y
	 o8h6wyoZrXCGiX+lYsYxBlUv6okWGCq8mEIzrhKaQznYz+JVhgiU0jYiHF2xTpl1SO
	 OatNkzb/HKO+Q==
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 F15343809A09;
	Tue, 20 Oct 2026 20:10:18 +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: <179203116093.2621539.3718842986255459438.G202@gmail.com>
X-Cc: shenjian15@huawei.com, shaojijie@huawei.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ae878000@gmail.com