🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7667

Re: [PATCH net] net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails

#7667
From: patchwork-bot+netdevbpf
Date: Mon, 26 Oct 2026 23:30
24 lines
8654 bytes
Hello:

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

On Wed, 21 Oct 2026 23:54:17 +0800 you wrote:
> taprio_module_init() registers taprio_device_notifier and then returns
> register_qdisc()'s error directly.  When register_qdisc() fails the
> notifier stays registered, but the loader's failure path frees the module
> image without ever calling the __exit function, so netdev_chain is left
> pointing at taprio_device_notifier.notifier_call -- a function pointer
> that lives in text that has just been freed.
> 
> [...]

Here is the summary with links:
  - [net] net/sched: taprio: unwind the netdevice notifier if register_qdisc() fails
    https://git.kernel.org/netdev/net/c/c5234f89d7cb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305741081.3456332.957586637723940788.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-352121-linux-kernel-netdev=dewy.ru
References: <20261021155417.66254-1-phx0fer@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-352121-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/sched: taprio: unwind the netdevice notifier if
 register_qdisc() fails
Date: Mon, 26 Oct 2026 23:30:10 +0000
Organization: Usenet Network
Message-ID: <179305741081.3456332.957586637723940788.git-patchwork-notify@kernel.org>
References: <20261021155417.66254-1-phx0fer@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1421749"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dgTZ54ZKjZIDm2Brvw7kgKFOUFw= sha256:LOJcCYC/46gsO+6GZEFdWt3WITk8X7T3LneK6T2MAhw=
	sha1:U9sCQ0iHfrvFd0qL02KGpm7b+4A= sha256:yNx4kiao8IhFUsPbCHSF6pfGbh9adEr/zZiPWp5Dpqg=
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 86E5C125BD6; Tue, 27 Oct 2026 02:32:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 s9GthVDm3HAo;
	Tue, 27 Oct 2026 02:32:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-352121-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id CA482125BC4; Tue, 27 Oct 2026 02:32:39 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 9AD2826F82; Mon, 26 Oct 2026 23:30:23 +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=1793057413;
	b=ioxK7QxQcehHY9MIB1AJJ/Wiv6QFRXMAclI1RLptOPge0UEbs8DzrAEDQCylY6gIvXnJ
	 5u6DDxMBBryTITGtIpTR9RDBjVe7vUxngKxEQ/qHp75B5u0QnyIiV8iiN6oQJ3RnTVlR9
	 fquoB6EaGlzm7CwCL9N/wqZbL7hR2quPmxisAZMxucu4JlZ2zEua1X85rIJeDC7BbT56k
	 YFSk3Bq1/FCZMYwEmLogbgugcM9pxlnMfGAu+h+8+gKCgJRPBJw0ww/uJXLIL92k+KxpX
	 JHPd2NTiW5+mrSu5k3s8FBG2v03kK08M0TY4An24+E77fcIHHfwOrwYRb0FpOlPW6cQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793057413;
	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=80tOCrOp6Ey2wC5e4eExDj1W6gfvC9XlwH5pQFkSK4o=;
	b=zG9AKXA//x8Q2r9Lflm+ArgkW+biVa6UZh8XSg586BTfI+nbEz6aLatvTx9qKCQC3cdh
	 hH7gTiA+AFaMyKZv+jU5b+LKYbc5BFtk64UCxoF2KFXM4cw3WVBHihQhr4n5PQVBM7Ea8
	 R0Z7TB8H2BlDjLFHjlw7piqolWoEVZ8PF53ZM5/bMph9o0r+563qoa226nmTJ7dMOXVwM
	 A1tBoxATPt4sXYIb1F0IKFA8Kjf5tWXxDOjzy7xYD2LhLwt/mt1LjdNHZILYjxAQmaKmU
	 uLXy0x5Zlw3whn6As2ZY8jwlgucfscRBWkRMLgqKOrzT/MW1AYE+ndy4vEHd4/filpw==
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=SuVmTPpL;
	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 81D6F60A2612;
	Mon, 26 Oct 2026 23:30:13 +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=SuVmTPpL
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=1793057412;
	b=POslGdf/4x3eK7XoY6iv1WKo+CdBsRWNr0nI0e4scTWuSsqf8oANbU6nXSjKF7RP5znL
	 wJl4J361vB4v+vtrYvcBhro7U2j+6nZ93lJya2pjEDqgzCwhG6jZV7ukYuyUu2ndbBeFr
	 Ccs2wgtKNEITa28o8yZvA3ohaix0oUy+rSchn+LjecptQGrhFZh678jfecq9q9oENcZBi
	 3F/BuI42NJ/RSKNeTKbjwl4f80jSU23BxEpPfK6U1IvS5o2S4nFirB4Wkjz3Le9kkwSWE
	 zOA8L5PpuSEm5xgoYEljR5gBBb6MT0ojqsUIPl5DWUro2omJvmq6oLoiB8qYvvwjaeg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793057412;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=80tOCrOp6Ey2wC5e4eExDj1W6gfvC9XlwH5pQFkSK4o=;
	b=WgvANhCnwttoqxPo45gzToXUpIfjg/LmEwXPABpIUxD7XF9qXT3zWOGTFDBb8czwncdI
	 kNfZH0F8XvaJPw1MNWh4X1BPTbFAxkG6BkS9HnqF+WkQCyus+aAqz9JlHkRVLfvRX1/Hn
	 cjbnH9HQhTx+EpDVEuGOvJAMTTJRdIRnurjA28Vnvqez2KHl17wdI5+H1O6ZZ9kJCeRMy
	 noYj7rqimlVDb9xbJJbJAbSh51sBqV6UIga30AIV6hOcJslpD/hSZY605Ycf5fJ4ctcGu
	 Gq0JlUlDMXG48LM9zGhrHedrYFrCgxfMoNT/v8CBsnmJ3m3z04OKFhpQDKzOFnrO/tg==
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=SuVmTPpL;
	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 5BA7F60A260B
	for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 23:30:12 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 394AB1F031E8;
	Mon, 26 Oct 2026 23:30:12 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793057412;
	bh=80tOCrOp6Ey2wC5e4eExDj1W6gfvC9XlwH5pQFkSK4o=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=SuVmTPpLK77kSIxy4hvSzdoTok1prktEyt1QlKR2POcDp8v42uXO8S4cTC5gPM1UB
	 zfMjBYbMbiLWSiWS88wZRA0eLU+1oQeFlgI6CdmfXiGli1gsDqkKF8wqi3NC4qwnaC
	 SEIu8NFu0i8obrI5scFZdLui0kljUxnO/a743UhjYPFsj9fzAWBsjFDUulwQAA7ceq
	 JQ6tg78bq/8YR/kIMGBqHiDN1azaM3Y4sS0CO99OBJGOS3Z0Cs+Hpe9Bd6QA4dVSee
	 rIJhyaoqB26xjIvyR/mhoeS189IM/fQppi7+yJaAsrwF4V/WLpTP6de5Dvty1PshVp
	 +jKz/HOBspahA==
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 2F32D3AA80F0;
	Mon, 26 Oct 2026 23:30:12 +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: <20261021155417.66254-1-phx0fer@gmail.com>
X-Cc: vinicius.gomes@intel.com, jhs@mojatatu.com, jiri@resnulli.us,
 netdev@vger.kernel.org