On Tuesday, 24 November 2026 18:20:43 CET netdev-bot+sashiko@kernel.org wrote: > > diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c > > index 977f62c88da76..c94b292a1c4a8 100644 > > --- a/net/batman-adv/translation-table.c > > +++ b/net/batman-adv/translation-table.c > > @@ -653,10 +653,18 @@ static u16 batadv_tt_flags_get(struct batadv_tt_common_entry *common) > > * Only a single change per client is queued. It describes the latest state of > > * the client and a new event therefore replaces an already queued one. > > * > > + * The other nodes only learn about the modification of a local entry through > > + * the queued change. The caller must therefore not modify the entry in a way > > + * which depends on this change (e.g. hash it as BATADV_TT_CLIENT_NEW or mark it > > + * as BATADV_TT_CLIENT_PENDING) when the event could not be stored. > > + * > > * The caller must hold the flags_lock of @common. The events of an entry are > > * then queued in the same order in which its flags were modified. > > + * > > + * Return: true if the event was stored, false if the memory for it could not > > + * be allocated. > > */ > > -static void __batadv_tt_local_event(struct batadv_priv *bat_priv, > > +static bool __batadv_tt_local_event(struct batadv_priv *bat_priv, > > const struct batadv_tt_common_entry *common, > > u8 flags) > > __must_hold(&common->flags_lock) > > [Severity: Low] > At this commit, batadv_tt_local_set_pending() in > net/batman-adv/translation-table.c doesn't follow the new rule. It still > ignores the return value and always sets the PENDING flag: This prepares it for a later patch. I don't think it helps us here to discuss in which patch this comment is added. Regards, Sven