🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14303

Re: [PATCH v1 net] net: Fix memory_allocated leak in __sk_mem_raise_allocated().

#14303
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 23:40
24 lines
8615 bytes
Hello:

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

On Thu,  5 Nov 2026 21:29:00 +0000 you wrote:
> __sk_mem_raise_allocated() calls sk_memory_allocated_add() and
> reuses the return value to check if it was called.
> 
> However, sk_memory_allocated_{add,sub}() cache a value in per-cpu
> counter, sk->sk_prot->per_cpu_fw_alloc, up to sysctl_mem_pcpu_rsv
> before reflecting it to sk->sk_prot->memory_allocated.
> 
> [...]

Here is the summary with links:
  - [v1,net] net: Fix memory_allocated leak in __sk_mem_raise_allocated().
    https://git.kernel.org/netdev/net/c/8012eec76b7e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179435400892.117523.14002426849545083444.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360727-linux-kernel-netdev=dewy.ru
References: <20261105212905.3122712-1-kuniyu@google.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360727-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v1 net] net: Fix memory_allocated leak in
 __sk_mem_raise_allocated().
Date: Tue, 10 Nov 2026 23:40:08 +0000
Organization: Usenet Network
Message-ID: <179435400892.117523.14002426849545083444.git-patchwork-notify@kernel.org>
References: <20261105212905.3122712-1-kuniyu@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="730940"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:mk1gulv9dWBBi0PAJaP6woIfwq0= sha256:R16GNjoEZETBmNqK9kxh+xxiq1qAs1X0e0jgvbdUe2I=
	sha1:4corfwFJYsvPtkf2a8sw5Sq1/PQ= sha256:bq8Qvk81Sri99pd2RmouJ+y8PDdge5cn/4i+EmAnbAU=
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 1ABF2113DB5; Wed, 11 Nov 2026 02:40:42 +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 JUrfqMJrjC1j;
	Wed, 11 Nov 2026 02:40:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360727-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 B5183113D79; Wed, 11 Nov 2026 02:40:28 +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 0D5EA46D7A; Tue, 10 Nov 2026 23:40:16 +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=1794354011;
	b=lMw5uJTmt43e7UHUBxg5pkCDnBeOkZWdawGOYtGUwRBf8899PmVSgptkIGOSJUaEcrrP
	 3xrUUHQ8T5pmY2FttKdV6Xck51xslOYtz9O1v4yJ0GyzH0aFscqs8sTSSXswZSe5bqYBI
	 R6+o+GdZmKB0rZeglnvYjU1KtUs4zffFHswgGGMbWzHm4JsUphAMMeKlaWa0xKd0LlIBx
	 qST0YiKqFQnfQOqUyBEnb7ZJs3CCyS1XUKQ/Voscx62YZoqPbzyU6zeE8ulLCiuwrnRrW
	 Vylr7fTMp1tsZOorPqdliBSSNW69XNUiu7tN1rwtQLHUgyIsLtxjFS1KBDRtwE4kWvw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794354011;
	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=UJ+dnp7W7LhPBMepHIiLdFwBGR+4qgPkW4P8pMHJ6BQ=;
	b=VOHbffp9QWaiwcioEZrzDgvmKBbYkzQtL3e3BnyHN0tEFOAcFW6FEGW4VDq4ryEzKK95
	 sG+/GtAFbA9Yz3UAw3mkur5w2a/4dd1AEbkybBVjhnBmKNBlGOFroYvgjoOHnlQWzkkzL
	 IARmbrzD+vcHf7jCek3tp/91TE5mxXp59USFwnjN4Hfomnwm/98HnfinOkKm446FcitWb
	 cyOXSMAcAWgN2B14uDX6guhzNQ+fWZc5MohVq+jDcl7KfWcDw9Ieety7yImY17VZz2jrN
	 mS9dZs8v5FvaHm4tfG+ZNpJZMwOPiqNpURuqPeBMmQio5Zj96kGz7wCUbxc1M/d2krg==
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=fQNqrpfi;
	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 6EB16606A33E;
	Tue, 10 Nov 2026 23:40:11 +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=fQNqrpfi
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=1794354010;
	b=NlPKuC/6fcmXjL2omksslQxhDdVsatBWWPU25nyDiLJmjLFFENUX+R3w0/c0ibz6PbGk
	 DW1X4cUuKzT+s+4g60OjvPiHugUuXuqBeOcVAAHhYiI/qn0iMdH0mYm2vpf4NWb2EIqIC
	 Ek3mMPScrr84WHmLmQnAg10wi8LTOoyIVDf+rU+QzSnORmlB2trRYqxOh3kiI1WvwANUg
	 0QODabmqwBJ5NosJ5hJdk2MbCaTybxzwdo2aQSh2iauw+W6II3CthVQwcJbTx4aA6tlOf
	 oya6TKkylECRcs/D2uF8SnHFuOSmtkDpAWj4tcsaR3zBQOpJbtac39AF6cFYNZ48HVg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794354010;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=UJ+dnp7W7LhPBMepHIiLdFwBGR+4qgPkW4P8pMHJ6BQ=;
	b=Gb79LrisMTkfTzQ9jRYYq4oUbCc6NR7GfC/6PJtfV1UnlLD9izd3Ib6IG189ZfuU3NJl
	 z5fnNlUKLT6Zfc/jFt8ZipTnhTIMYmYm/SV1JmCUArsK7UBnXYpMQMHpQf+1pfbjqvWcH
	 cryQfMewC4Ak7mwGTPhlzK7SpBHsmefxRzkGdb1RH4yrraaz/F17bNxdintCD6uPoUPO0
	 o4erTrku1cbCx8QIHroSv21JEKRAXif3uh4TY7rYWmv9olw6NmU4DXwFOprU+uZYvzpu9
	 sXjesbxB6i5zqLatH4NCxh8NJsvl26pL8XZxessIPatOnoh6dTb+GSl6QffVi0vLQWQ==
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=fQNqrpfi;
	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 8F2FF606A331
	for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 23:40:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 688481F0093C;
	Tue, 10 Nov 2026 23:40:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794354010;
	bh=UJ+dnp7W7LhPBMepHIiLdFwBGR+4qgPkW4P8pMHJ6BQ=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=fQNqrpfiz1FuHIXh5gJ7sqHKIh5hx2wSFdteI3WuXImf81l9bdW81/BsriOyCt2Am
	 WLSuIAiidKD+4XlBVpU4Boh1yJ5rYA9c19hNSiN6Q32/kjv8PScL/QdxRUiWz3WUMn
	 vwV6RCdKmgUa5OwM23gSx8omEORPUPiJfRU3U0kTx+R3mtRJgpS5tkFMCd4yVxi6pi
	 JjrMXuV2GDp39wWJAFWI8fRtIshUgTokvYyxqwcic5x/e2ghmlh+51+RFQkIuRPuJY
	 DFCxl5vuD+6rj9XSzvRb/TUfBQpAs2J6JDPx33kGHK/7iYJw39/BinLmCaKal+Y2P9
	 VbwGhAYnaASNw==
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 5E01E39E8A41;
	Tue, 10 Nov 2026 23:40:10 +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: <20261105212905.3122712-1-kuniyu@google.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, kuni1840@gmail.com,
 netdev@vger.kernel.org