OSDN Git Service

net: add net available in build_state
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Mar 2020 22:00:21 +0000 (18:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:30:57 +0000 (22:30 -0700)
commitfaee676944dab731c9b2b91cf86c769d291a2237
tree46d0cda33e921c85fb4fc192695e5527c46f3415
parent8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3
net: add net available in build_state

The build_state callback of lwtunnel doesn't contain the net namespace
structure yet. This patch will add it so we can check on specific
address configuration at creation time of rpl source routes.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/net/ip_fib.h
include/net/lwtunnel.h
net/core/lwt_bpf.c
net/core/lwtunnel.c
net/ipv4/fib_lookup.h
net/ipv4/fib_semantics.c
net/ipv4/fib_trie.c
net/ipv4/ip_tunnel_core.c
net/ipv6/ila/ila_lwt.c
net/ipv6/route.c
net/ipv6/seg6_iptunnel.c
net/ipv6/seg6_local.c
net/mpls/mpls_iptunnel.c