Article View: linux.kernel.netdev
Article #22969Re: [PATCH] mac802154: Cancel scan work synchronously during hardware teardown
From: Stefan Schmidt
Date: Thu, 26 Nov 2026 08:28
Date: Thu, 26 Nov 2026 08:28
20 lines
8048 bytes
8048 bytes
Hello Aryan Arora.
On Mon, 12 Oct 2026 17:39:34 +0530, Aryan Arora wrote:
> Scan cleanup uses cancel_delayed_work(), which does not wait for a
> running scan worker. The worker can requeue itself after cancellation,
> leaving an active delayed-work timer when the PHY allocation is freed.
>
> Cancel scan work synchronously before destroying the workqueue.
>
>
> [...]
Applied to wpan/wpan.git, thanks!
[1/1] mac802154: Cancel scan work synchronously during hardware teardown
https://git.kernel.org/wpan/wpan/c/f89a03c1e1db
regards,
Stefan Schmidt
Technical Details
Message-ID:
<179568169335.1904157.8405124473303033794.b4-ty@datenfreihafen.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371959-linux-kernel-netdev=dewy.ruReferences:
<20261012120934.64632-1-aryanarora.w1@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371959-linux-kernel-netdev=dewy.ru From: stefan@datenfreihafen.org (Stefan Schmidt) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] mac802154: Cancel scan work synchronously during hardware teardown Date: Thu, 26 Nov 2026 09:28:18 +0100 Organization: Usenet Network Message-ID: <179568169335.1904157.8405124473303033794.b4-ty@datenfreihafen.org> References: <20261012120934.64632-1-aryanarora.w1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="416729"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ggEzxaflxoHophyUErqoovzj5mI= sha256:Ff0+X3sHSVNcw1sz/YygCclS/jHGYI+e6v8J2grupIs= sha1:/aGoxKZormtjC9DQE55WeJ6hlgk= sha256:sx+5kCcFJk4Jq4dFq/NXmiv8gKuLj3p2okawxkhIITA= 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 24720125EB6; Thu, 26 Nov 2026 11:28:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.951 X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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-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 L6buf98mWEsg; Thu, 26 Nov 2026 11:28:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-371959-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=datenfreihafen.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id CEE79125EB5; Thu, 26 Nov 2026 11:28:29 +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 3F2B92B170; Thu, 26 Nov 2026 08:28:28 +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=1795681707; b=Xx+vNqbwZeWn2sYX2LZilVM17hynnIz3z+hdhbPurNxOu+0LlGPe/Tro02jqY0vN1tG+ bLnE+vFZxKBARenUs6LU4FKczJfESVecK1PkITIkEDRwQCBHHElZ/y/tof+g610/biV8A ZzBTmRvLt0ekJLLiwORwLKghWYNs4wllRhqqg5HAPrb50gWU9ovsKnLOdqw/F0C8LuhkE GwOuWl21mPCeByRbXLislzlZW/vetoVfhCVowfiYoWxbFkJlSO7reCj5+j4QkGZHqJzsG JsFvi3+hXjuvhZv01qBRZadRGAXazoUGcdkgN2A3tRlmAc5KNNPDLP3nhh2RBCTKhiw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795681707; h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer: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=xq0x4cTOUXhtJhfr87pihE2LGPwHYkhta0PSXMhDOWA=; b=ye6fPn7uO9Lfq4PsVazP1L1g2s9WPyYqaA2DOOnhj2idhk6U22feUDFWjrrfrw4LX60i sG6WM+oODssKLoyd9bGdU6Bn7eR8lBmg1OWWsjFDiCgW3cKwIbSs0aZxuwH8rSU2p7HNZ Pul6MxChjcwTzk6IV60MwBJNfMYoEOg1G9jpydo4e8Z3LZFvBjq7iVYUISJdA5I4pNdhk Br98kVu6yZmY9KoFRTBureFNof3ojd3CtOGIWt+XlWOk+rs7mUow01sc4dIaVwT//o07W A267IwVYRwryPUAKlrJGMhnc0mHIBGbelUJPcugUazFhok4VpuyGb3ksq64/+QPlVDw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=datenfreihafen.org; spf=pass smtp.mailfrom=datenfreihafen.org; 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 5586E606A321; Thu, 26 Nov 2026 08:28:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=78.47.171.185 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795681706; b=bWEU7f9Bei6/a+P459hAlkMfAiyfxlB8q+DEVgBsnSgM6KJR8CfEqO6QeF60yh16lOd2 Z2IS8kObIeGMrBiNAh767/jMNoT5RoBG8iwhPweMbzfT9zbZNA4SWK07E+4lFdkRQcaUY h1yfze6aYvtyc5HJX8bgk0nx3g31GZcxDOcGjBAUf11afFpTTkfQ9JANkpY+Ntm/UVKuG 64kk7xzczM5+C55xq5lTfyUHfEFFquP8UHZd4W1aXyAtCWComf6CNHhEb8UjsEfcEDDkn Ofv2jq9HvoqxulOl/+G3/uVseycZ0V6EuBUyRi8z2ZWnVOCskUhzUtxaoJJMkA6y8Ig== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795681706; h=DMARC-Filter:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=xq0x4cTOUXhtJhfr87pihE2LGPwHYkhta0PSXMhDOWA=; b=FsdqUr1lPgntIm2aNyfhwPhNDBHvbJIf8KhZ78GLeqZGSufwKxh67n9butWE8+uPFh+p qI3Wh3m6zTb2dNI8FQDFGnpVxAZboPVSHgoRwn7mcsgQxP6k6sL71k57fGNccppWBBqAv kwssrv0knUm/BeqeuyL9O7Z/UYFZj7+yab0QKttdrzcTb7L/FoyH80mKB7FuXNctDJPhN LRjWM/VDYxW/LQqhPem6G6exEvP8ZDTsCy56oIO9AeA+37CuR2ZMGMm9FgOPqZIw6KsXD pm53wYiGCR3jkRzljwALXJR8ix4ijEUUs9rpocxoM3iY5zBlGO7t4CWHc5/9vnrPM0A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=datenfreihafen.org; spf=pass smtp.mailfrom=datenfreihafen.org; arc=none smtp.remote-ip=78.47.171.185 X-Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) (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 460A1606A31C; Thu, 26 Nov 2026 08:28:26 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 460A1606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=datenfreihafen.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=datenfreihafen.org X-Received: from work.datenfreihafen.local (unknown [46.253.254.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 43B2AC0368; Thu, 26 Nov 2026 09:28:24 +0100 (CET) X-Cc: Stefan Schmidt <stefan@datenfreihafen.org>, "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, David Girault <david.girault@qorvo.com>, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+19cbce4cc656ecd4febc@syzkaller.appspotmail.com, Eric Dumazet <edumazet@kernel.org> X-Mailer: git-send-email 2.56.1 X-In-Reply-To: <20261012120934.64632-1-aryanarora.w1@gmail.com> 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