Re: [PATCH net-next v2] ipv4: igmp: annotate data-races around im->users

From: Ido Schimmel

Date: Mon May 25 2026 - 10:14:41 EST


On Sun, May 24, 2026 at 11:05:43PM +0900, Yuyang Huang wrote:
> >This one isn't necessary since the object was just allocated and not yet
> >published
>
> Thanks for the comment. I did consider not modifying it when writing
> the patch, but decided to keep it for consistency, it makes the code
> easier to reason about later. If you feel strongly about removing it,
> I'm happy to send a v3.

I don't think it's worth another version. Personally I wouldn't add
WRITE_ONCE() where it's not necessary.

P.S. Please don't top post.