mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
net: Convet ipv6_net_ops
These pernet_operations are similar to ipv4_net_ops. They are safe to be async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e8a95ad463
commit
1fd2c55705
1 changed files with 1 additions and 0 deletions
|
@ -401,6 +401,7 @@ static struct pernet_operations ipv6_net_ops = {
|
||||||
.exit = ipv6_net_exit,
|
.exit = ipv6_net_exit,
|
||||||
.id = &conntrack6_net_id,
|
.id = &conntrack6_net_id,
|
||||||
.size = sizeof(struct conntrack6_net),
|
.size = sizeof(struct conntrack6_net),
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init nf_conntrack_l3proto_ipv6_init(void)
|
static int __init nf_conntrack_l3proto_ipv6_init(void)
|
||||||
|
|
Loading…
Reference in a new issue