[PATCH net-next 1/2] lwt: Add cfg argumnt to build_state

2015-08-18 Thread Tom Herbert
Add cfg and family arguments to lwt build state functions. cfg is a void pointer and will either be a pointer to a fib_config or fib6_config structure. The family parametter indicates which one (either AF_INET or AF_INET6). LWT encpasulation implementation may use the fib configuration to build th

Re: [PATCH net-next 1/2] lwt: Add cfg argumnt to build_state

2015-08-19 Thread Jiri Benc
On Tue, 18 Aug 2015 20:21:10 -0700, Tom Herbert wrote: > diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h > index e25b60e..9bf7e6a 100644 > --- a/include/net/lwtunnel.h > +++ b/include/net/lwtunnel.h > @@ -26,7 +26,8 @@ struct lwtunnel_state { > > struct lwtunnel_encap_ops { >