🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3

Re: [PATCH net] devlink: fix devlink_rel reference leak when notify work is pending

#3
From: patchwork-bot+netdevbpf
Date: Wed, 07 Oct 2026 00:20
24 lines
6409 bytes
Hello:

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

On Thu,  1 Oct 2026 12:22:32 +0800 you wrote:
> devlink_rel_nested_in_notify_work_schedule() takes a reference on the
> devlink_rel for the notify work and then queues the work, ignoring the
> return value of schedule_delayed_work(). If the work is already pending,
> nothing new is queued, the work runs only once and drops only one
> reference, so the extra one is leaked together with the devlink_rel and
> its index in devlink_rels.
> 
> [...]

Here is the summary with links:
  - [net] devlink: fix devlink_rel reference leak when notify work is pending
    https://git.kernel.org/netdev/net/c/c5381ae1cd14

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179133240677.2839723.7890715824308505927.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-342122-linux-kernel-netdev=dewy.ru
References: <20261001042232.222987-1-yanhaishuang@cmss.chinamobile.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-342122-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] devlink: fix devlink_rel reference leak when notify
 work
 is pending
Date: Wed, 07 Oct 2026 00:20:06 +0000
Organization: Usenet Network
Message-ID: <179133240677.2839723.7890715824308505927.git-patchwork-notify@kernel.org>
References: <20261001042232.222987-1-yanhaishuang@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="541509"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Uy9wQSjNxoogwtebfeYfLX0LlLA= sha256:+6hQ8MUZzKzSwcdeK3G3SrE3DSDPre+57jH/arz/PyY=
	sha1:5b3N5cqJfrYLnXvtbVEC9yuIZZQ= sha256:DNbag4WSYF4pragevPYcAQTiBGMsdwbxVP3BHH2UhTU=
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 DF44B10F090; Wed,  7 Oct 2026 03:20:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.641
X-Spam-Status: No, score=-3.641 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, 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 q8k1J8CnopzG;
	Wed,  7 Oct 2026 03:20: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-342122-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 7368010F067; Wed,  7 Oct 2026 03:20:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id DA2112ED85; Wed,  7 Oct 2026 00:20:15 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 98BAA25333F;
	Wed,  7 Oct 2026 00:20:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kJGergeG"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1D4920D4FC;
	Wed,  7 Oct 2026 00:20:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791332409; cv=none; b=Smf/u681kIrOHssWYeoybSd5To2oZQ827YS9p3GP88PTmHmmJn5XWDmCxUFv5QivRoQN5tB3KquC5VZHOQjN9KE3zhLI48xSudTz6k5jqSana0FwebsHL5MR3FJTTBAbgDb3VazY6JWCJnqSHoyJ4rqRd19fGgnVjBm2MjkLgRw=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791332409; c=relaxed/simple;
	bh=gxOm/CpuqDw5re1ra2454MsOTp1Wq8z5s3OBnLaq4F4=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=U1rOa4CkZiT3ozCuNfrOOdgpgdZaJw+QFg20JjOpQrw/F+2SkVmAzyRvl8F0ukpOTd8Ila6YMf7ATjRXRHzMn//Xx02iqVjwaGGHhsmMlwDolTUzs324gCsfHXj81cf3cojflspVcpy0vX6E9KE6tzd42kztoTfzo9/bcr8YAtc=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kJGergeG; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45BE31F0089B;
	Wed,  7 Oct 2026 00:20:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791332408;
	bh=hf1jtPhzVWbJKWMQVShLqCkt5PanYQPqkLMdn2L/T3A=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=kJGergeGo9ydY7rY0st1bhCzfh2eQU/qXVi5XymEeN+s5QhanTJAmhM6/zQ9nehpF
	 ln5utJjoNTdd9kSiaD5d6+GqY8Nx2ZBzgIe/1DG1T2MJKMY7aW3QTjHSv10BjOD5Ww
	 M5ZAf+5FOCEIX57uSzzc4lFgKzyoB8EP7go8Ohf8LVgU9Fj1ufKKrzFLscIB1S7bR7
	 fotN1iX3gPCRAo8pHO2ZeIoJDHTT3AmpTrdq9GgBNYaQmQijZCRZn4VkQ8t4VcCiol
	 oYFFTJTNldZMvUSge+dAEYEoetAoe6266xrBmG+aYHFNBxpmkk1ZsmvLTIa07zt77u
	 4c6T6/VLhrDGQ==
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 3A2D83806541;
	Wed,  7 Oct 2026 00:20:08 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261001042232.222987-1-yanhaishuang@cmss.chinamobile.com>
X-Cc: netdev@vger.kernel.org, jiri@resnulli.us, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 linux-kernel@vger.kernel.org