aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-07 20:50:29 -0800
committerJakub Kicinski <kuba@kernel.org>2022-02-08 20:41:32 -0800
commit8805d13ff1b2bef6a7bb8a005d2441763286dd7a (patch)
treeaa462e26306ddbab144278402ba43494cff6d4cb /include/net/netns
parentipv6/addrconf: allocate a per netns hash table (diff)
downloadlinux-dev-8805d13ff1b2bef6a7bb8a005d2441763286dd7a.tar.xz
linux-dev-8805d13ff1b2bef6a7bb8a005d2441763286dd7a.zip
ipv6/addrconf: use one delayed work per netns
Next step for using per netns inet6_addr_lst is to have per netns work item to ultimately call addrconf_verify_rtnl() and addrconf_verify() with a new 'struct net*' argument. Everything is still using the global inet6_addr_lst[] table. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index 755f12001c8b..d145f1966682 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -95,6 +95,7 @@ struct netns_ipv6 {
struct hlist_head *inet6_addr_lst;
spinlock_t addrconf_hash_lock;
+ struct delayed_work addr_chk_work;
#ifdef CONFIG_IPV6_MROUTE
#ifndef CONFIG_IPV6_MROUTE_MULTIPLE_TABLES