mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
net: Convert clusterip_net_ops
These pernet_operations register and unregister nf hooks, and populate and destroy /proc entry. So, they are able to be marked as async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7ca9e67feb
commit
f95978b7ad
1 changed files with 1 additions and 0 deletions
|
@ -840,6 +840,7 @@ static struct pernet_operations clusterip_net_ops = {
|
|||
.exit = clusterip_net_exit,
|
||||
.id = &clusterip_net_id,
|
||||
.size = sizeof(struct clusterip_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init clusterip_tg_init(void)
|
||||
|
|
Loading…
Reference in a new issue