Re: [LTP] [RFC PATCH 2/2] lapi/if_addr.h: Define IFA_FLAGS

Petr Vorel
2021-09-30T17:17:18Z

Hi Martin
,
> > +++ b/include/lapi/if_addr.h
> > @@ -8,6 +8,10 @@

> > #include <linux/if_addr.h>

> > +#ifndef IFA_FLAGS
> > +# define IFA_FLAGS 8
> > +#endif

> I don't understand why the move of IFA_FLAGS from lapi/rtnetlink.h to
> lapi/if_addr.h is split into two separate patches. IFA_FLAGS is required
> for compiling tst_netdevice.c so this patchset is not very bisect-friendly.

Ah, good catch, thank you. Silly error I mixed up IFA_F_NOPREFIXROUTE and IFA_FLAGS => v2.

Kind regards,
Petr

> > +
> > #ifndef IFA_F_NOPREFIXROUTE
> > # define IFA_F_NOPREFIXROUTE 0x200
> > #endif