From: Paolo Abeni <pabeni@redhat.com>
To: Sven Eckelmann <sven@narfation.org>,
sw@simonwunderlich.de, netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, horms@kernel.org,
b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [PATCH net-next 01/15] batman-adv: document refcount of returned objects
Date: Wed, 2 Dec 2026 17:23:58 +0100 [thread overview]
Message-ID: <32654b3f-76ba-4830-b351-1bfcf93cf740@redhat.com> (raw)
In-Reply-To: <2939196.BEx9A2HvPv@sven-desktop>
Hi,
On 11/24/26 22:11, Sven Eckelmann wrote:
> On Tuesday, 24 November 2026 18:20:37 CET netdev-bot+sashiko@kernel.org wrote:
>> Earlier, the message gives "(with increased refcnt)" as an example of
>> wording that already documents this. The diff then removes that wording
>> and rewrites it in batadv_gw_get_selected_gw_node(),
>> batadv_gw_get_selected_orig(), batadv_hardif_get_by_netdev(),
>> batadv_primary_if_get_selected(), batadv_orig_hash_find() and all of the
>> netlink.c getters.
>>
>> The same happens to "with an initialized reference counter" in
>> batadv_tt_local_create() and batadv_tt_global_create(). It also happens to
>> "it with an increased refcounter" in batadv_tt_global_orig_entry_find().
>>
>> On the other hand, the other existing phrasing is left alone:
>>
>> * The object is returned with refcounter increased by 1.
>>
>> It is still in batadv_orig_node_vlan_new(), batadv_orig_router_get(),
>> batadv_orig_ifinfo_get(), batadv_orig_ifinfo_new(),
>> batadv_neigh_ifinfo_get(), batadv_neigh_ifinfo_new() and
>> batadv_last_bonding_get().
>
>
> Will sync the remaining kernel-doc in a follow up patch:
Picking this reply randomly to share a few tips that will possible
make future PRs easier.
Note that this PR is fine. I'll merge it soon.
Sashiko comments with 'Low' prio could be safely ignored.
Ask for fixes tag and cc: stable for net-next should be ignored
(as you already inferred).
Sashiko has problems with patch dependencies, should be ignored
(as you already inferred).
Note that ATM we are not opposing to fixes tag in net-next patches,
where/when it make sense, because Linus explicitly asked to redirect
low impact non regression fixes to net-next, even if they are actually
fixes. Such patches could carry a fixes tag.
This is different from what used to be little time ago, because the
context is changing rapidly. For the same reason is not explicitly
stated in the documentation.
Thanks,
Paolo
next prev parent reply other threads:[~2026-12-02 16:24 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 17:18 [PATCH net-next 00/15] pull request for net-next: batman-adv 2026-11-23 Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 01/15] batman-adv: document refcount of returned objects Simon Wunderlich
2026-11-23 17:23 ` netdev-bot+sinfo
2026-11-23 18:13 ` Sven Eckelmann
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 21:11 ` Sven Eckelmann
2026-12-02 16:23 ` Paolo Abeni [this message]
2026-12-02 16:30 ` patchwork-bot+netdevbpf
2026-11-23 17:18 ` [PATCH net-next 02/15] batman-adv: mcast: use mla_lock also during mcast_free Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 03/15] batman-adv: mark functions inheriting critical sections Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 04/15] batman-adv: bla: register own backbone gw when claiming for local node Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 19:19 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 05/15] batman-adv: tt: unhash local entries with hlist_del_init_rcu() Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 06/15] batman-adv: tt: refresh local entry in single flags_lock section Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 19:22 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 07/15] batman-adv: tt: don't remove unhashed local entries Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 19:24 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 08/15] batman-adv: tt: don't queue local events for unhashed entries Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 09/15] batman-adv: tt: remove unannounced local entries via pending state Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 10/15] batman-adv: tt: keep local entry unchanged when ADD can't be queued Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 19:30 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 11/15] batman-adv: tt: requeue DEL of pending local entry after failed allocation Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 19:46 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 12/15] batman-adv: tt: extract removal of pending local entry Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 20:16 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 13/15] batman-adv: tt: commit only the announced local changes Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 20:33 ` Sven Eckelmann
2026-11-23 17:18 ` [PATCH net-next 14/15] batman-adv: tt: avoid list_lock for unchanged local clients Simon Wunderlich
2026-11-23 17:18 ` [PATCH net-next 15/15] batman-adv: tt: drop ADD+DEL events of never announced clients Simon Wunderlich
2026-11-24 17:20 ` netdev-bot+sashiko
2026-11-24 21:02 ` Sven Eckelmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32654b3f-76ba-4830-b351-1bfcf93cf740@redhat.com \
--to=pabeni@redhat.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sven@narfation.org \
--cc=sw@simonwunderlich.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.