net: Drop pernet_operations::async
Synchronous pernet_operations are not allowed anymore. All are asynchronous. So, drop the structure member. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
094374e5e1
commit
2f635ceeb2
@@ -1044,7 +1044,6 @@ static struct pernet_operations ipgre_net_ops = {
|
||||
.exit_batch = ipgre_exit_batch_net,
|
||||
.id = &ipgre_net_id,
|
||||
.size = sizeof(struct ip_tunnel_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int ipgre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[],
|
||||
@@ -1628,7 +1627,6 @@ static struct pernet_operations ipgre_tap_net_ops = {
|
||||
.exit_batch = ipgre_tap_exit_batch_net,
|
||||
.id = &gre_tap_net_id,
|
||||
.size = sizeof(struct ip_tunnel_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __net_init erspan_init_net(struct net *net)
|
||||
@@ -1647,7 +1645,6 @@ static struct pernet_operations erspan_net_ops = {
|
||||
.exit_batch = erspan_exit_batch_net,
|
||||
.id = &erspan_net_id,
|
||||
.size = sizeof(struct ip_tunnel_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ipgre_init(void)
|
||||
|
||||
Reference in New Issue
Block a user