🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8619

Re: [PATCH net] netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts

#8619
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 16:10
30 lines
9040 bytes
Hello:

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

On Mon, 26 Oct 2026 22:13:06 +0000 you wrote:
> netdev_wait_allrefs_any() re-sends NETDEV_UNREGISTER every second while
> it waits for the last references on a device to be dropped. By then
> netdev_run_todo() has already marked the device NETREG_UNREGISTERED and
> RTNL has been dropped at least once since the initial notification sent
> by unregister_netdevice_many_notify().
> 
> netdev_genl_netdevice_event() does not tell these rebroadcasts apart
> from the initial notification and sends a NETDEV_CMD_DEV_DEL_NTF
> multicast for each of them. At best this spams NETDEV_NLGRP_MGMT
> listeners with duplicate notifications; at worst the pernet state of
> the netns the device belongs to is already gone and the handler
> dereferences a NULL pointer.
> 
> [...]

Here is the summary with links:
  - [net] netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts
    https://git.kernel.org/netdev/net/c/fd0909e963ed

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179329021180.546068.16729568713969066908.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-353363-linux-kernel-netdev=dewy.ru
References: <20261026221306.3151025-1-namangulati@google.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-353363-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts
Date: Thu, 29 Oct 2026 16:10:11 +0000
Organization: Usenet Network
Message-ID: <179329021180.546068.16729568713969066908.git-patchwork-notify@kernel.org>
References: <20261026221306.3151025-1-namangulati@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2044638"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:xOfbDdR7LinewHdEKp3U9tt6ffM= sha256:IqaCmiH1Cu0+lqYqOH7DOXfKWhCRVSGQipVQt5VRqoQ=
	sha1:olyy13ErEh9wYUgw3R+/ZTawRCc= sha256:SQQZ4rYZRimml4H+boLdrl8CrjZYyDW+6S2teobc9XU=
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 53928125C6C; Thu, 29 Oct 2026 19:19: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 9KMrccZcprpd;
	Thu, 29 Oct 2026 19:19:39 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353363-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id EB219125C6B; Thu, 29 Oct 2026 19:19:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 8F3592FF68; Thu, 29 Oct 2026 16:12:17 +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=1793290230;
	b=CWEQoBWvD05cTfQyDufNC2dKk2z2M1XgcO9Czaf8Uk8tCRowHVgeqUzBEec4IvEjYdEr
	 AYHODD09Od3A2t4HELlXZVDL3oJMwbG4OuxGOFhSpLJbpfkyCcaPKmLHLWtZyLom3l9CJ
	 2u3niCO+2iwHkvQxgisdWJJNxgQcwRrokezxs+w3yztrdc5wxls5X9ii2TniVJ37yGzI9
	 rb55lFDe4sDp+mR0RD+UMJJG+msdVsZj/9HrAwUtq9heX5qIImTyr6/z47qWVRiV5IKyj
	 3k3vYYXd5KKFGwv6OCPBLKeQiI/Zg9QgUax4Z/qb4l4oQxGyb9+/fVwNqRXBX9kBotg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793290230;
	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=yaQqJmE/bdN8+eGSGKklAuxZN+lw+10q8P+DbsBhiG0=;
	b=ovUIhR/f9/OjnGs9LX51GnkPEJKuYSSorZ76HNsVarmqbLy0+N/kZPbu8DR0a7Se2uyh
	 6zMtG2KiXJ1ebfoo7IBKij+ZjUT8jmNZb9AFFgY95Se5U84xdgrAJT1Hk+taAUX8PftUA
	 STzriNZgokQiHUhKhvlAi0rm1v1WcjmU8RqxwhsQH21pDJSS0GyLsNlOuQXhvsWPEeuYg
	 HWxnv6dot7PSD3xLg9nhYpQavnzmkSdse/iDu+vk0+HC1ojNbs9vYfdpNfRJLjdCrVYIq
	 7gK6u1ghsV3kXqm8x/X0/QWr7XWDCVyweIfDi9Xm4Jh1cgairZt4KzlYFfp+RIVczLg==
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=VNxZw7qk;
	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 DC338606E003;
	Thu, 29 Oct 2026 16:10:29 +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=VNxZw7qk
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=1793290214;
	b=E9K1pFbDMheUxhaAULMjOt6Zyv3Q/KOPZviTFCxTFx891EDAoiNjayZ6cK8jx8y2U9+V
	 YSqkGiGuereSxKAHAp13Ttv1Eb9sqAjf6bTdWf8n3R8tqdYAwTLZmIDsW2casrjVSd8Lm
	 t+v/vUH5etslyzm7rvzs1lBWYDFQDsEx12F0mhhK/eQONmLB8U+V6PMKoQlo25bNwad3V
	 +4GojscpjgdBFQqh6dhsU6DHrFIi8TVezvjKsgTmWthdlHx7g2esSSJDnzyr5rCKFjsyN
	 naxpK0a1dh6u+u7Rl4vsxU5aXl44XIESfVf9e0zFsbEVINMD+/jF+wZVVHkzYqaYNVw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793290214;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=yaQqJmE/bdN8+eGSGKklAuxZN+lw+10q8P+DbsBhiG0=;
	b=1cWP/rurA30GHheqPeEk07VEpKQCSSKPSZIwDB1Id0DuyOfnl/aVXNG41YIfVBq/qNgB
	 LrNDBzklq7mMMA7fdtHVCtwZj/YoirUhb10qUPPBSp1KTcQBMTbn7ouBZFF6SAv9sxrEv
	 9i7shoBrI2cR791VVzBC7XYAXlELZJJH94vxRdM+XNorcmlraKUf7NQYHm6i3LAcO0abm
	 Dzch0rO0RPHQaCBSNLu4NbQ1NAWoYCs+GUUGdLAuqTLQr/xQdOcqAYhTp8Fve0SCGl7Mq
	 JfufGI6GgmjgfR6PonWFQl5vps5xy5si8+vCDCZXU5ZSa4rrN8b43M+SwzdUdW467Lw==
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=VNxZw7qk;
	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 B7D1E606A33A;
	Thu, 29 Oct 2026 16:10:13 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A13E1F01826;
	Thu, 29 Oct 2026 16:10:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793290213;
	bh=yaQqJmE/bdN8+eGSGKklAuxZN+lw+10q8P+DbsBhiG0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=VNxZw7qkLvYeobcQq/vEwy9kprYLkv8G74Sjg7gyrUwTaFkmc74vDZdfpm4loZXl8
	 JEJ2FeCWIyBzfKhGdO55ijXb7RRYOUWKKdzrnq2mHBP9ft797JnFs8WIwv6l8hS2A0
	 UUHaoNQfA2E68gPG8cIjPF6hxnf+Ujs2c5y8Le9WLhCSLGD3KHGfSbgJn3ffcmHwp5
	 t4iyc/Kx0pUjHNDl37IvOasdIgh0R4XWATRy2AHn+jRqcnapFB05HR4kz+TtujdufQ
	 Xny8nt3tCCNSCMbFGOmy0uJ/CJKJumSPQem8aJoegxd+9iH0vf6yPMGC+if3ow7Pbs
	 JKzHue8sSJTtw==
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 401C93808221;
	Thu, 29 Oct 2026 16:10:13 +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: <20261026221306.3151025-1-namangulati@google.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, kuniyu@google.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
 syzbot+1269fe6cc2016008124e@syzkaller.appspotmail.com