]> 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)
commita2860536f173f60afd7a58c21d5e60d136f0b6e8
tree95881822e7dbc13dd7bf9cd87502e98fd03a3f54
parent11fa59bea27da8e8e5012f692f8d0869e4808200
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