On Wed, Sep 9, 2026 at 12:56 AM David Ahern <[email protected]> wrote:
>
> On 9/5/26 4:39 AM, Yuyang Huang wrote:
> > +static int rtnl_dump_mcaddr(struct sk_buff *skb, struct netlink_callback 
> > *cb)
> > +{
> > +     struct net *net = sock_net(skb->sk);
> > +     unsigned int flags = NLM_F_MULTI;
> > +     struct {
> > +             unsigned long ifindex;
> > +             int addr_idx;
> > +     } *ctx = (void *)cb->ctx;
> > +     struct net_device *dev;
> > +     int ifindex = 0;
> > +     int err = 0;
> > +
> > +     if (cb->strict_check) {
>
> this is new code. It should only work with strict checking.

Thanks for the advice, I will fix it in patchset v2.

Thanks,

Yuyang

Reply via email to