Re: [PATCH net-next 2/4] net: mpls: change mpls_route layout

2017-03-27 Thread Eric W. Biederman
David Ahern writes: > diff --git a/net/mpls/internal.h b/net/mpls/internal.h > index 66f388ba2d49..302d48f54b57 100644 > --- a/net/mpls/internal.h > +++ b/net/mpls/internal.h > @@ -64,7 +64,6 @@ struct mpls_dev { > struct sk_buff; > > #define LABEL_NOT_SPECIFIED (1

[PATCH net-next 2/4] net: mpls: change mpls_route layout

2017-03-25 Thread David Ahern
Move labels to the end of mpls_nh as a 0-sized array and within mpls_route move the via for a nexthop after the mpls_nh. The new layout becomes: +--+ | mpls_route | +--+ | mpls_nh 0| +--+ |