]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit156f131d81bc4050a7ad9ca2fcb7d174a204ec73
tree46d0cda33e921c85fb4fc192695e5527c46f3415
parente6b343c8db39aa9ad05891220a09122eada02c08
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