]> git.baikalelectronics.ru Git - kernel.git/commit
lwt: Add cfg argument to build_state
authorTom Herbert <tom@herbertland.com>
Mon, 24 Aug 2015 16:45:41 +0000 (09:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Aug 2015 17:34:40 +0000 (10:34 -0700)
commit47e7ca4f48633bd81e47981723bd8b0f5f69ef2e
tree8bb513d62040ed1017bb11922a38792f93b7fd33
parentd8c072c13ad6109466bdf936cfda067dfcc1a752
lwt: Add cfg argument to build_state

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 parameter indicates which one (either AF_INET
or AF_INET6).

LWT encpasulation implementation may use the fib configuration to build
the LWT state.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lwtunnel.h
net/core/lwtunnel.c
net/ipv4/fib_semantics.c
net/ipv4/ip_tunnel_core.c
net/ipv6/ila.c
net/ipv6/route.c
net/mpls/mpls_iptunnel.c