]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6/addrconf: allocate a per netns hash table
authorEric Dumazet <edumazet@google.com>
Tue, 8 Feb 2022 04:50:28 +0000 (20:50 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Feb 2022 04:41:32 +0000 (20:41 -0800)
commit8663a67edd719a967edb1579fd07530935d109d6
tree95881822e7dbc13dd7bf9cd87502e98fd03a3f54
parent9fefd67f5dad08860776906f373570d5a2d61ad6
ipv6/addrconf: allocate a per netns hash table

Add a per netns hash table and a dedicated spinlock,
first step to get rid of the global inet6_addr_lst[] one.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/netns/ipv6.h
net/ipv6/addrconf.c