aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/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/ipv4/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/ipv4/route.c')
-rw-r--r--net/ipv4/route.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index ce9bd5380d21..8322e479f299 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -418,7 +418,6 @@ static void __net_exit ip_rt_do_proc_exit(struct net *net)
418static struct pernet_operations ip_rt_proc_ops __net_initdata = { 418static struct pernet_operations ip_rt_proc_ops __net_initdata = {
419 .init = ip_rt_do_proc_init, 419 .init = ip_rt_do_proc_init,
420 .exit = ip_rt_do_proc_exit, 420 .exit = ip_rt_do_proc_exit,
421 .async = true,
422}; 421};
423 422
424static int __init ip_rt_proc_init(void) 423static int __init ip_rt_proc_init(void)
@@ -3017,7 +3016,6 @@ static __net_exit void sysctl_route_net_exit(struct net *net)
3017static __net_initdata struct pernet_operations sysctl_route_ops = { 3016static __net_initdata struct pernet_operations sysctl_route_ops = {
3018 .init = sysctl_route_net_init, 3017 .init = sysctl_route_net_init,
3019 .exit = sysctl_route_net_exit, 3018 .exit = sysctl_route_net_exit,
3020 .async = true,
3021}; 3019};
3022#endif 3020#endif
3023 3021
@@ -3031,7 +3029,6 @@ static __net_init int rt_genid_init(struct net *net)
3031 3029
3032static __net_initdata struct pernet_operations rt_genid_ops = { 3030static __net_initdata struct pernet_operations rt_genid_ops = {
3033 .init = rt_genid_init, 3031 .init = rt_genid_init,
3034 .async = true,
3035}; 3032};
3036 3033
3037static int __net_init ipv4_inetpeer_init(struct net *net) 3034static int __net_init ipv4_inetpeer_init(struct net *net)
@@ -3057,7 +3054,6 @@ static void __net_exit ipv4_inetpeer_exit(struct net *net)
3057static __net_initdata struct pernet_operations ipv4_inetpeer_ops = { 3054static __net_initdata struct pernet_operations ipv4_inetpeer_ops = {
3058 .init = ipv4_inetpeer_init, 3055 .init = ipv4_inetpeer_init,
3059 .exit = ipv4_inetpeer_exit, 3056 .exit = ipv4_inetpeer_exit,
3060 .async = true,
3061}; 3057};
3062 3058
3063#ifdef CONFIG_IP_ROUTE_CLASSID 3059#ifdef CONFIG_IP_ROUTE_CLASSID