]> 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)
commitcc1ed9908cd4be44da7f3b8901f39fdcca9d2fe8
tree46d0cda33e921c85fb4fc192695e5527c46f3415
parentc3b5893eba1c6fa36b6d17d35bb2a8ca79330c89
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