From: "Linus Lüssing" <linus.luessing@c0d3.blue>
To: Sven Eckelmann <sven@narfation.org>
Cc: b.a.t.m.a.n@lists.open-mesh.org, Sashiko <sashiko-bot@kernel.org>
Subject: Re: [PATCH batadv] batman-adv: mcast: explicitly initialize mcast.num_want_all_rtr{4,6)
Date: Tue, 13 Oct 2026 12:48:26 +0200 [thread overview]
Message-ID: <as4MenkBYiGiD339@sellars> (raw)
In-Reply-To: <20261012-mcast_atomic_init-v1-1-eb8d129802bf@narfation.org>
On Mon, Oct 12, 2026 at 01:48:37PM +0200, Sven Eckelmann wrote:
> All mcast.num_want_all_* are initialized in batadv_mesh_init_late() - with
> the exception of mcast.num_want_all_rtr4 + mcast.num_want_all_rtr6. At the
> moment, it works because atomic_set just initializes it to 0 and the netdev
> private data is already set to 0 before being passed to .ndo_init.
>
> For consistency purposes, also initialize mcast.num_want_all_rtr4 +
> mcast.num_want_all_rtr6 explicitly.
>
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Closes: https://sashiko.dev/#/bug/linux-9dbe5dec-31ae-49eb-838a-b4b92ced4ace
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
Acked-by: Linus Lüssing <linus.luessing@c0d3.blue>
prev parent reply other threads:[~2026-10-13 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 11:48 [PATCH batadv] batman-adv: mcast: explicitly initialize mcast.num_want_all_rtr{4,6) Sven Eckelmann
2026-10-13 10:48 ` Linus Lüssing [this message]
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=as4MenkBYiGiD339@sellars \
--to=linus.luessing@c0d3.blue \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sashiko-bot@kernel.org \
--cc=sven@narfation.org \
/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.