🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25873

Re: [PATCH net-next 01/15] batman-adv: document refcount of returned objects

#25873
From: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 16:30
53 lines
10794 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Sven Eckelmann <sven@narfation.org>:

On Mon, 23 Nov 2026 18:18:13 +0100 you wrote:
> From: Sven Eckelmann <sven@narfation.org>
> 
> Callers of lookup, get and create functions have to know whether they own a
> reference to the returned object (and have to release it with the matching
> batadv_*_put() or dev_put()), or only borrow it. Some functions document
> this already (e.g. "(with increased refcnt)" or "The object is returned
> with refcounter increased by 1."), but many say nothing.
> 
> [...]

Here is the summary with links:
  - [net-next,01/15] batman-adv: document refcount of returned objects
    https://git.kernel.org/netdev/net-next/c/07b98ba7d5de
  - [net-next,02/15] batman-adv: mcast: use mla_lock also during mcast_free
    https://git.kernel.org/netdev/net-next/c/40852b3a0a7d
  - [net-next,03/15] batman-adv: mark functions inheriting critical sections
    https://git.kernel.org/netdev/net-next/c/142c790745e3
  - [net-next,04/15] batman-adv: bla: register own backbone gw when claiming for local node
    https://git.kernel.org/netdev/net-next/c/0994dfc159da
  - [net-next,05/15] batman-adv: tt: unhash local entries with hlist_del_init_rcu()
    https://git.kernel.org/netdev/net-next/c/32fea7fd5141
  - [net-next,06/15] batman-adv: tt: refresh local entry in single flags_lock section
    https://git.kernel.org/netdev/net-next/c/881e9e9ff306
  - [net-next,07/15] batman-adv: tt: don't remove unhashed local entries
    https://git.kernel.org/netdev/net-next/c/f4d8a1464ac3
  - [net-next,08/15] batman-adv: tt: don't queue local events for unhashed entries
    https://git.kernel.org/netdev/net-next/c/bd1773ed71f8
  - [net-next,09/15] batman-adv: tt: remove unannounced local entries via pending state
    https://git.kernel.org/netdev/net-next/c/f6a800719724
  - [net-next,10/15] batman-adv: tt: keep local entry unchanged when ADD can't be queued
    https://git.kernel.org/netdev/net-next/c/1e4f22cca7e4
  - [net-next,11/15] batman-adv: tt: requeue DEL of pending local entry after failed allocation
    https://git.kernel.org/netdev/net-next/c/1d9194a89aa0
  - [net-next,12/15] batman-adv: tt: extract removal of pending local entry
    https://git.kernel.org/netdev/net-next/c/be46d02c41a9
  - [net-next,13/15] batman-adv: tt: commit only the announced local changes
    https://git.kernel.org/netdev/net-next/c/37df5c237a09
  - [net-next,14/15] batman-adv: tt: avoid list_lock for unchanged local clients
    https://git.kernel.org/netdev/net-next/c/ec928f5e049a
  - [net-next,15/15] batman-adv: tt: drop ADD+DEL events of never announced clients
    https://git.kernel.org/netdev/net-next/c/a859ae9d28de

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179622900725.2041121.14566902144003903113.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375928-linux-kernel-netdev=dewy.ru
References: <20261123171827.3294525-2-sw@simonwunderlich.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375928-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 01/15] batman-adv: document refcount of returned
 objects
Date: Wed, 02 Dec 2026 16:30:07 +0000
Organization: Usenet Network
Message-ID: <179622900725.2041121.14566902144003903113.git-patchwork-notify@kernel.org>
References: <20261123171827.3294525-2-sw@simonwunderlich.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2009913"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:TzJ3vpRTcYwoMd7xWRxEKrIxkIw= sha256:iHPdxNKd83H70AKfyPRI/vKUqHEgbKTsG7qFa3LlbQs=
	sha1:Ilj8Q6VWX8M0+REZ48MZdugF42Y= sha256:g35GqJ/Jgc6OB7vfaxZI7/nauKGte315uHXOxW3lK3A=
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 1A5851176AF; Wed,  2 Dec 2026 19:30: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 TtUIYfVOpGot;
	Wed,  2 Dec 2026 19:30:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375928-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 055251176AD; Wed,  2 Dec 2026 19:30:24 +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 D81BD2CCDF; Wed,  2 Dec 2026 16:30:09 +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=1796229009;
	b=LDXbixRrv/dEFRYp++BVNdO5Kcc/stUGWw2V4bQ46lKAXKRtboUfzLfTN/Qs0KKwLQRC
	 uQObt8VBPmvghP0PfXqjc4JwxOShMT2+MDyihpWH1kxA25EFZEDGTXFPaYPP4626+nmiX
	 /SWVMLu47F6e1eQD+4AdH+GVSRHok9vUmK9pZnjmlw+XwpkOBDEi8pzfYlprT/Olwe4sZ
	 pVkbckfPXGjPnkqKqLJAQabFNoLgwm51mjT/+CNhWqp3ZfJMKyO376ZbzsHUw+YWgJ3k3
	 GJyXNFAscochKT8zNHjJY74uYWdfSqZlfHkQC3Q5CyER8NSlw4yFtzP3lSzji7uLcyQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796229009;
	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=mIIQZbaoL92qM+iiNmgUanXqii0tEYjS7qwbj2iPIZk=;
	b=ux9/+zW6LA1AbfpL/H20eNys4J1frowTMtAYczw6+rpcrhFKXCLFjoB6ha504Z6ksI2+
	 RxU97dkyobImJbN6TbWI5sQN7f1v3WLTlvRE8+AKe0SI27sk0pZkc0zZBGGBIT82j5H1U
	 Gq9O96DMDxzIblgEng1figI2lsR7ZUMnqx1XU8OkFlk6qkDbqoxCEmQHmJ8EGVcbSLL4H
	 XheSt/fuUM1O0+RffYLR5GVznRQpRiW/uiEsoLjUBVy/iAD9zbcIw+on7R17yy05ToIhS
	 bIcpBgIpyiK1ZXLvvcWoh7lnXCR7g5Iy1ic5cV0I9s4u6VTGuDx4WJkoZgPD71MrhRA==
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=hPOG7hKq;
	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 AFF4D606A327;
	Wed,  2 Dec 2026 16:30:09 +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=hPOG7hKq
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=1796229008;
	b=CfKuoMpocf0DgPoi3ulFrDp8kBg8+VCawsL99DOtzuI+FJcQjiEwfy7wf9YpKNaDb2mJ
	 +nm2vzkVmaiGZ5ILYBY6zXmnbIDGkl5cFclWt+29fXOOas9xjlng92RdHqeY/frf8Kst2
	 Sl7HhLq4Xq1SQFX3ZlImbdzAsg0BQYpeZ6CH6fFv2Y61ZOyOnzJF6HP1Ji3xV3/m33m/G
	 DhmQqv6dFsnN+wTMUllzUcmMbKB4muaLh/U7igHeGn8eXnzPDhb61pSbQB/u4PL0AJDCl
	 4YkcHeJMdvTRCiXvKM08U44Ohf81uxdwh7Kvgi3SK3W8O4Ric1xfog6pdpDu0hrqgYA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796229008;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=mIIQZbaoL92qM+iiNmgUanXqii0tEYjS7qwbj2iPIZk=;
	b=VLhmEoxsJMaGLQassY4DZ1jwT5Dy2t3Qrjr8B5g5g4Xg7WnTuFRXoYlcIJXfOJO47Jps
	 e1HlmsrRjY3wtoPB6X9D/eAiwpbEZ8MwCPLTvzRO4A3yL6eZs4qNNqYZb6VbGNRdwJ8/o
	 cBSFIcYzfsyJ9zN43voXAqybgYyIvvxiiTMbIAPw4Y9DPwV4RwQo3feEpFO6inhsRt4hE
	 3R6/Gg2bwYB7iKNT05d1aEwvzy7cg3wwFWy/HPH5K5b+NAq+F2rZCHpIJqqkofv5KxiIB
	 KZkf3f0PHWQbTqSxISICoYItz/3ZlM9PxUADma6X0bc+4MDWc+kS+Miso/eQ0yzugYw==
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=hPOG7hKq;
	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 CB7E6606A32C
	for <netdev@vger.kernel.org>; Wed,  2 Dec 2026 16:30:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B8671F00893;
	Wed,  2 Dec 2026 16:30:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796229008;
	bh=mIIQZbaoL92qM+iiNmgUanXqii0tEYjS7qwbj2iPIZk=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=hPOG7hKqCwQjGHpblPPMw6srVxQFzYkvBrMaulQE427cE58Ma9Pf9ALLfKf5XKgrM
	 IQXRWAQ2/8xvF5dxb0RTiNUMuIHfYhgMOR3zhDFmEQ4K/CxTuihnQVVeU0HlRwmzIA
	 3Iy6CHaSe7CzTDQWvuK7EtnQZd861j8MZTokZbNP6u9K+NV6cbRSK+bu8DCyD1a01k
	 ARZ7B8ZX5t3wauJaV+BjOUB4JH5XSHhSPoNXbGiJ8VikhCSkZgSaOdWonWz3vOWqEO
	 s7K4d0TEgApB1t8cidb6/tplP2/ETS4Rc20oZfsQ9Ssp0EawPyUAg1hqvhAf6HT+r6
	 hlhjKcm/1IrJg==
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 719573808235;
	Wed,  2 Dec 2026 16:30:08 +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: <20261123171827.3294525-2-sw@simonwunderlich.de>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 b.a.t.m.a.n@lists.open-mesh.org, sven@narfation.org