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

Petr Vorel petr.vorel@gmail.com
Thu Sep 30 19:17:01 CEST 2021


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


More information about the ltp mailing list