Re: [PATCH net-next v6 2/4] net: add AF_PACKET multicast dumps
From: Yuyang Huang
Date: Tue Sep 22 2026 - 04:53:24 EST
On Tue, Sep 22, 2026 at 4:20 PM Nicolas Dichtel
<nicolas.dichtel@xxxxxxxxx> wrote:
> dev_base_seq only indicates whether the netdevice list has changed, not whether
> the addr list has changed. It's only a partial consistency check.
> See inet_base_seq()/inet6_base_seq().
>
> I don't see an equivalent of dev_addr_genid for the L2 mcaddr list; it should
> probably be added.
Thanks for the suggestion, I will fix this issue in v7: I think I need
to add a per netns counter bumped on dev->mc changes and combine it
with dev_base_seq like inet_base_seq() does.
Thanks,
Yuyang