🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21074

Re: [PATCH net] mctp: i3c: Fix potential thread leak on registration failure

#21074
From: patchwork-bot+netdevbpf
Date: Mon, 23 Nov 2026 14:30
24 lines
8656 bytes
Hello:

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

On Tue, 17 Nov 2026 22:48:45 +0800 you wrote:
> mctp_register_netdev() can fail before netdev registration begins,
> leaving the TX thread and bus list entry allocated. The error path
> assumes ndo_uninit has already cleaned them up.
> 
> Always clean up on registration failure. Make bus cleanup idempotent
> because later registration failures can already have called ndo_uninit.
> 
> [...]

Here is the summary with links:
  - [net] mctp: i3c: Fix potential thread leak on registration failure
    https://git.kernel.org/netdev/net-next/c/5a3f240e32b2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179544420466.2426925.6893559084832792351.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.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-369473-linux-kernel-netdev=dewy.ru
References: <20261117-571e631490-mctp-i3c-0@mail.sdu.edu.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.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-369473-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] mctp: i3c: Fix potential thread leak on registration
 failure
Date: Mon, 23 Nov 2026 14:30:04 +0000
Organization: Usenet Network
Message-ID: <179544420466.2426925.6893559084832792351.git-patchwork-notify@kernel.org>
References: <20261117-571e631490-mctp-i3c-0@mail.sdu.edu.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3901208"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HSmSoW3i4LmJczDRSaOj+eJRthc= sha256:ZpOpPqU0B40QhyNRP1XvjCuYm2EV5/XipTAZhDsUiS4=
	sha1:h+Si3xjmPbGyTKzzHSiQ3WE5ci8= sha256:q/GuEgSQG+IPHqJcwLJWdCchPpe+V+ydD+VWh/zrxl8=
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 EF9E8125DB8; Mon, 23 Nov 2026 17:30:29 +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 rqLn3UTAAMRQ;
	Mon, 23 Nov 2026 17:30:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-369473-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 84A82125DB3; Mon, 23 Nov 2026 17:30:13 +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 774982DD3B; Mon, 23 Nov 2026 14:30:07 +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=1795444207;
	b=mI0Z8dgiE9ZZW/BW1sRvD8I9I5rafnXD+HDCynBst28lfmHIs1hLVaQiUZNXYtjsYHae
	 G+WhO6Yi6ckGDZCelBSIwxiV9d7PoxF42ht9BGkkXiVYNeLVIydZmzU8QanALCDctfUL0
	 gboNZUloifXJh6fPBgkjWWVJBErIifr6+msTD/M2wSfGeI4Z6ZVPkNhnig6LlQ9f9vJpg
	 L33QSc40nVdZeogFqjKzQ3vxJQCDoGPvONBoAhgjmcLz8heox4L9ngDunn4541oE8kwG1
	 50r+W6wABP7/rVJwVTfnLVIBhdoxy0DlcOAeJeldiNtYPNTNx7FBNDOF5DKKy021i3Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795444207;
	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=xNxC2SDarUSKdnqIvB6WGjlLKHjwv3qTzMvW6DWFcmM=;
	b=C1f8DtjBObYIww8BkJft5KQzgfcAjGbUqZ9+3/kyvumpvriPJw4rzWU6VuHdRuR0hJY4
	 NnU11qq6zVJm5HCb/YH+iSkY/XqFgHObOeq86JPZ91RJtGDODTEUBtM//4LpjDxpqomRG
	 OdWBUCM9P7EzGZbUtlpuzhDoPtSuPAvBrHAAgJgzAXgoSXLadfZ9U8hum+U3PRttMG3TH
	 iRnBIJYUtQnz6NkoxIkrIYzWa93qsdEPyzECtddPfozBx4ToXeeuTYs7c/5Ey7BB7m8dA
	 MTu72q2dKonpUoaPdCxuJHPvmXifStnP5UgcHFvpFY9LIEH+7JnRUdAVsXQHrS3ypCQ==
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=K+MpWo9K;
	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 4FCBC606A32E;
	Mon, 23 Nov 2026 14:30:07 +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=K+MpWo9K
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=1795444206;
	b=l/I6OnZzVCDRkny002h9TGbBVln2Eot+tjw2lGAzdrejvtoA8WSiXeE3Oa8tQGdiEOXL
	 3ET/qyRxPxvOHtoWsepxTQtD6mkoGlNtfseyCq7WiqK+LqlMe0YxbyxHSfoezWWExB8pJ
	 XRU8loJMnAXT/37Wl/9iwlr44GOT8uN+EqJl3qK4TBIAgasUo2L6J1H/XbXICZHkiwGFj
	 qeel9G2kDa/gZ2A8mkwb12Im0PXlTX33ctuyNDEyYdWZ82K9SzabmnLaM6eUsonUFCTTU
	 fEvIt3IbxO/EszVlademAFiPU/6+vfUEBl5Ob03tyYImk0VypbSFIyVB67Gu6r6CFoQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795444206;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=xNxC2SDarUSKdnqIvB6WGjlLKHjwv3qTzMvW6DWFcmM=;
	b=jEIHRw+x8vq1cal2R4wr1LqdHMMhdWWdEfKyIU0PhDo3dsmJhSaq5364eKEx6kQMuiyb
	 PjcIXrQ5YAj8kkjotvMh73KbL6itzFVW9mAhTKWfkrq/SUt1LcaodNG2OdSfmgG48uDWY
	 hHJCgcYFn+eCBV6SEeF3VRiVja46yoLbsZ1q2zdY3IzqWVIzPIiKW0i1eQDY9okhQPrs1
	 BX6uZfQDRR1MNIBxSbBgEb55Be9WFvTR9EkOl/Gb54TIzr2pABohT7ocoKTArTjmOypa7
	 A0SPkHtaiaBrrSjWg7tv7+BWrvrelm5522C55tkq1YhI9YN52vWOBRkvToexOr/XvtA==
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=K+MpWo9K;
	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 6C05E606A32C;
	Mon, 23 Nov 2026 14:30:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC98F1F0089E;
	Mon, 23 Nov 2026 14:30:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795444205;
	bh=xNxC2SDarUSKdnqIvB6WGjlLKHjwv3qTzMvW6DWFcmM=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=K+MpWo9KKDXZSbJ9RwQvBf85WdropLA4sGmBg+R24920oLKvk/hI2LGRufVGLHcvv
	 LXqf/SjGztxTqdJBfgVUm8GtdguiruWGala/FP/Hcm8KT2BvD3oNko6knVtCM3nbNv
	 hCPcrNJsOjjKDB0EwhH+xbX0eZmgrVS1D2DQ+V3+0JrXtv1F5Nyu/O4TCJQEKABVmL
	 QE+LvGCBKCyAHQdhTKpFyZEtDushmvWHWjnz66ghobsMmKWuEBQbezj4gmKoG4HjBT
	 SVSH2i20FrqPYv9EGTGYHVaLJJdKM5FG3kKplXWe2RpeoWsl2Wmq5HDjrP5435+oND
	 b+N2iU/q3Mkdw==
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 B458A392EDAF;
	Mon, 23 Nov 2026 14:30:05 +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: <20261117-571e631490-mctp-i3c-0@mail.sdu.edu.cn>
X-Cc: jk@codeconstruct.com.au, matt@codeconstruct.com.au, 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