aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-27 11:02:13 -0400
committerDavid S. Miller <davem@davemloft.net>2018-03-27 13:18:09 -0400
commit2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch)
treefe8b187d1530a7e434aecaf2d5a9565247f0263e /net/ipv6/route.c
parent094374e5e173c6639eccf6a2af5e1357a0869848 (diff)
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>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 1d0eaa69874d..ba8d5df50ebe 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -5083,7 +5083,6 @@ static void __net_exit ip6_route_net_exit_late(struct net *net)
5083static struct pernet_operations ip6_route_net_ops = { 5083static struct pernet_operations ip6_route_net_ops = {
5084 .init = ip6_route_net_init, 5084 .init = ip6_route_net_init,
5085 .exit = ip6_route_net_exit, 5085 .exit = ip6_route_net_exit,
5086 .async = true,
5087}; 5086};
5088 5087
5089static int __net_init ipv6_inetpeer_init(struct net *net) 5088static int __net_init ipv6_inetpeer_init(struct net *net)
@@ -5109,13 +5108,11 @@ static void __net_exit ipv6_inetpeer_exit(struct net *net)
5109static struct pernet_operations ipv6_inetpeer_ops = { 5108static struct pernet_operations ipv6_inetpeer_ops = {
5110 .init = ipv6_inetpeer_init, 5109 .init = ipv6_inetpeer_init,
5111 .exit = ipv6_inetpeer_exit, 5110 .exit = ipv6_inetpeer_exit,
5112 .async = true,
5113}; 5111};
5114 5112
5115static struct pernet_operations ip6_route_net_late_ops = { 5113static struct pernet_operations ip6_route_net_late_ops = {
5116 .init = ip6_route_net_init_late, 5114 .init = ip6_route_net_init_late,
5117 .exit = ip6_route_net_exit_late, 5115 .exit = ip6_route_net_exit_late,
5118 .async = true,
5119}; 5116};
5120 5117
5121static struct notifier_block ip6_route_dev_notifier = { 5118static struct notifier_block ip6_route_dev_notifier = {