On Mon, May 4, 2020 at 8:36 PM David Ahern <dsah...@gmail.com> wrote:
>
> On 5/4/20 4:28 PM, Roopa Prabhu wrote:
> > diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
> > index cd144e3..eefcda8 100644
> > --- a/include/uapi/linux/neighbour.h
> > +++ b/include/uapi/linux/neighbour.h
> > @@ -29,6 +29,7 @@ enum {
> >       NDA_LINK_NETNSID,
> >       NDA_SRC_VNI,
> >       NDA_PROTOCOL,  /* Originator of entry */
> > +     NDA_NH_ID,
> >       __NDA_MAX
> >  };
>
> those attributes are shared by neighbor and bridge code for example.
>
> nda_policy should reject it, and a new attribute provides a means for
> starting strict checking (add NDA_UNSPEC with .strict_start_type =
> NDA_NH_ID).
>
> Similar for the fdb code in rtnetlink.c. Shame AF_BRIDGE parsing does
> not have a policy attribute.

okay, will look

Reply via email to