diff options
author | Alexander Aring <alex.aring@gmail.com> | 2020-03-27 18:00:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-29 22:30:57 -0700 |
commit | faee676944dab731c9b2b91cf86c769d291a2237 (patch) | |
tree | 46d0cda33e921c85fb4fc192695e5527c46f3415 /net/ipv4/fib_lookup.h | |
parent | 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3 (diff) | |
download | linux-faee676944dab731c9b2b91cf86c769d291a2237.tar.bz2 |
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>
Diffstat (limited to 'net/ipv4/fib_lookup.h')
-rw-r--r-- | net/ipv4/fib_lookup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_lookup.h b/net/ipv4/fib_lookup.h index c092e9a55790..818916b2a04d 100644 --- a/net/ipv4/fib_lookup.h +++ b/net/ipv4/fib_lookup.h @@ -35,7 +35,7 @@ static inline void fib_alias_accessed(struct fib_alias *fa) void fib_release_info(struct fib_info *); struct fib_info *fib_create_info(struct fib_config *cfg, struct netlink_ext_ack *extack); -int fib_nh_match(struct fib_config *cfg, struct fib_info *fi, +int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, struct netlink_ext_ack *extack); bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi); int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, |