summaryrefslogtreecommitdiff
path: root/net/ipv6/seg6_iptunnel.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2020-03-28 01:00:21 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-30 08:30:57 +0300
commitfaee676944dab731c9b2b91cf86c769d291a2237 (patch)
tree46d0cda33e921c85fb4fc192695e5527c46f3415 /net/ipv6/seg6_iptunnel.c
parent8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3 (diff)
downloadlinux-faee676944dab731c9b2b91cf86c769d291a2237.tar.xz
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/ipv6/seg6_iptunnel.c')
-rw-r--r--net/ipv6/seg6_iptunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/seg6_iptunnel.c b/net/ipv6/seg6_iptunnel.c
index ac837afb9040..c7cbfeae94f5 100644
--- a/net/ipv6/seg6_iptunnel.c
+++ b/net/ipv6/seg6_iptunnel.c
@@ -376,7 +376,7 @@ drop:
return err;
}
-static int seg6_build_state(struct nlattr *nla,
+static int seg6_build_state(struct net *net, struct nlattr *nla,
unsigned int family, const void *cfg,
struct lwtunnel_state **ts,
struct netlink_ext_ack *extack)