🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26284

Re: [PATCH net] net: atl1c: cancel the common_task work in atl1c_remove()

#26284
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 11:00
28 lines
9039 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 25 Nov 2026 12:31:41 +0100 you wrote:
> atl1c_remove() frees everything the common_task work item needs - the
> register window, the netdev and with it the adapter - without ever
> cancelling the work.  A link-change interrupt can queue it right up
> until unregister_netdev() runs atl1c_close(), and even the
> cancel_work_sync() there is not the last word: it runs before
> atl1c_down() frees the IRQ, so an interrupt in between queues the work
> again.  Nothing then prevents the queued work from running after
> iounmap() and free_netdev(): atl1c_common_task() dereferences the freed
> netdev and reaches the unmapped register window through the link
> handler and atl1c_irq_enable().
> 
> [...]

Here is the summary with links:
  - [net] net: atl1c: cancel the common_task work in atl1c_remove()
    https://git.kernel.org/netdev/net-next/c/3b4d7f44a61b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179629560499.2531119.11523213602234918701.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376496-linux-kernel-netdev=dewy.ru
References: <20261125113141.99792-1-federico@rimpianto.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376496-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: atl1c: cancel the common_task work in
 atl1c_remove()
Date: Thu, 03 Dec 2026 11:00:04 +0000
Organization: Usenet Network
Message-ID: <179629560499.2531119.11523213602234918701.git-patchwork-notify@kernel.org>
References: <20261125113141.99792-1-federico@rimpianto.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2466175"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tvJ8Xf/YgkHL+hUW4LyrS/rEqNU= sha256:aEe/jFAqN+ssPJMQPJy1xneRFhLNue5MolFr/ERolKw=
	sha1:OkirZ8ntEQIUXvhRLSfJPsxc71Q= sha256:qGhUyw47rN1d1VAkEA3xMYSTkOFQj1PmSelQtmiPXx4=
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 D91341178DC; Thu,  3 Dec 2026 14:00:26 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, 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 xtqkMmOWx2T0;
	Thu,  3 Dec 2026 14:00: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-376496-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 D9DFE1178C0; Thu,  3 Dec 2026 14:00: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 0D1E22D0FB; Thu,  3 Dec 2026 11:00:13 +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=1796295612;
	b=KhAL4iQA2H1il16/vtcC6HHppWrFusLQD1g6MrCykeoCiL7tiBN1uBBXoPb/QEQbcmgL
	 THqg/B7ZOUJZ6at1G6IB8EpsrAaBlhAbMNNwxvR5yiNf6hidLLoGrqDMCidBGuGZ+bQ3r
	 NwIfsHKpd2RyYX9TACaL0qFzIsTlvll+dVsGfMvmqIm7QDa2oYgcvU4OwVH0szn1q57V5
	 chGmQuahQ13IvL/9Af25yUAHbms6Wo0DSKoeE6j1xjLiGuhyLWLDQoks7pISj/yADenVS
	 bTEef9HMu6/kVmSL1QW5jPlGQUut0eDnxrDR+yHMhMP+DGEeun3HgXIDtXCKQNRC/tg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796295612;
	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=CqXX0j8k8I0OCqyr2d5PMFNOxGcSVHcqbF42RLIjszw=;
	b=uVIJLFD/v+FSfLvb68/Xu6WlJ5ChAuAJ/zjmDPaA0OmMTCiGV00/fJXo3cjzlbIMmAMh
	 hTmNzQDTjlyphpwE3jf5T4fZ1FEN3IpBxQK2PRV7ObQlnzy40v7rpnV6xFMRWNGGxdIOO
	 ufS2SeAI8K0iY5NXMfj+G/lg+xCrY2Mf6w12W7NXntO6GS5zQ5iTdi3evkKlpiujAtOqs
	 adBplL4G5To16zOoCsbHFSFf+L8U8O3btg/RPqrMvA1RznjvtpTX1kgxAh8IEXG5hSfaM
	 glg4Yo1xfc7+F7Kc2NwfqCnKXF5tghFlkroaS2247bihFqdBr1zF6IF2Iz3Wx78JQjg==
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=ewDWePpj;
	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 85400606A33B;
	Thu,  3 Dec 2026 11:00:12 +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=ewDWePpj
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=1796295606;
	b=DL4zHcDcx7IbGknVk2ArCgHQHbFZ5+kOt6kr3fqqYWHcVa/Su5LxxF7vkpXghTP/wP7p
	 +GGSW4EzmHepax/FYf/dhVGzjitQ8xesH87snsHLqiwgkVlskJCHICc9HIS2yXSRSLz0B
	 AfEBdTImYhcZfSJ8AwiD54V9t6+yrGKrslS7TYxnCw1ZL2bGoXWEF0qqUlvBHm+XpXKKA
	 NLGL9VVWx+GEGBQg+xidew7z7ixKmW63P+Cb9reBcp85Z0244VusyX2Z+NG4EC8SqwlmH
	 pXkPsHlADJrc8zonyl9gcbklmp5p0vP0v5K9IbUDjPHd2u2RXc8ZtLu1a3yo5VYB8Gg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796295606;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=CqXX0j8k8I0OCqyr2d5PMFNOxGcSVHcqbF42RLIjszw=;
	b=GVWZ3ptrShe1+oiY14gYIgpdxN5eKTFioFSd+eb6slylaIJNT5ZHr72k/4YRICmhZ3mJ
	 T7YFEF/rSB17c/AHlqvctEQNNbYbI3OsBjFQSrtPLmMFBd0fPVDZ/6S+TZ0uaXMqwBfrL
	 R8aRZsakd4yAdaYQXHFe8zL6NSssDTHNP/ulT7O1qkhNwc09h1AjdzZVP4KkU3Kj2JWr0
	 gftNpKZZc6iFIXcP2ao9QKQ3A6xe+SWKKnSY1o2zwn4ZjF5tcE2b+u4+rO9JW817ry9Od
	 PGPgSZY10efhONe4cXXsuYKgpOEOYkTs4oycVVSPYbLfB1cYHa1T7E7KvM/xs4nCOkg==
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=ewDWePpj;
	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 A370D606A32F;
	Thu,  3 Dec 2026 11:00:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CB761F000C1;
	Thu,  3 Dec 2026 11:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796295606;
	bh=CqXX0j8k8I0OCqyr2d5PMFNOxGcSVHcqbF42RLIjszw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ewDWePpjrqV6kwDMBduXHjsQJgg6+9VMQ3WB+ndhj6Gnumb9BKSj4UcrFCAgeWZa2
	 8NjM2RLq0+lOcrvZ6T8ri/Mw/dlFYW+AiNZ47dtokm3YKAYB6Q5alQEJtQb5KSx8c1
	 MDepCEX01epgmDcR5U0Gi0MYnLXf95Ti8sCdn09gJ1nyOMa1SFJbqgGgxBg0VXIS9e
	 r/zCOAWXseI/a0vyP4FAUiB9NtWWuN/z2AzXPdiZVkQjeLrrd0jiUD6+RrBlaWXcZN
	 826Q/JpGhtYqC86kg1crHHWAZttjy51F9bRO+Vf9xHk3Vy9Vyx0tUxf0/3FnRYptTU
	 aNoA4IOW7853Q==
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 7179D3808236;
	Thu,  3 Dec 2026 11:00:06 +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: <20261125113141.99792-1-federico@rimpianto.com>
X-Cc: chris.snook@gmail.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, stable@vger.kernel.org