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
@@ -1533,7 +1533,6 @@ static struct pernet_operations tcf_action_net_ops = {
|
||||
.exit = tcf_action_net_exit,
|
||||
.id = &tcf_action_net_id,
|
||||
.size = sizeof(struct tcf_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init tc_action_init(void)
|
||||
|
||||
@@ -413,7 +413,6 @@ static struct pernet_operations bpf_net_ops = {
|
||||
.exit_batch = bpf_exit_net,
|
||||
.id = &bpf_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init bpf_init_module(void)
|
||||
|
||||
@@ -222,7 +222,6 @@ static struct pernet_operations connmark_net_ops = {
|
||||
.exit_batch = connmark_exit_net,
|
||||
.id = &connmark_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init connmark_init_module(void)
|
||||
|
||||
@@ -678,7 +678,6 @@ static struct pernet_operations csum_net_ops = {
|
||||
.exit_batch = csum_exit_net,
|
||||
.id = &csum_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("Checksum updating actions");
|
||||
|
||||
@@ -261,7 +261,6 @@ static struct pernet_operations gact_net_ops = {
|
||||
.exit_batch = gact_exit_net,
|
||||
.id = &gact_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim(2002-4)");
|
||||
|
||||
@@ -870,7 +870,6 @@ static struct pernet_operations ife_net_ops = {
|
||||
.exit_batch = ife_exit_net,
|
||||
.id = &ife_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ife_init_module(void)
|
||||
|
||||
@@ -352,7 +352,6 @@ static struct pernet_operations ipt_net_ops = {
|
||||
.exit_batch = ipt_exit_net,
|
||||
.id = &ipt_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int tcf_xt_walker(struct net *net, struct sk_buff *skb,
|
||||
@@ -403,7 +402,6 @@ static struct pernet_operations xt_net_ops = {
|
||||
.exit_batch = xt_exit_net,
|
||||
.id = &xt_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim(2002-13)");
|
||||
|
||||
@@ -353,7 +353,6 @@ static struct pernet_operations mirred_net_ops = {
|
||||
.exit_batch = mirred_exit_net,
|
||||
.id = &mirred_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim(2002)");
|
||||
|
||||
@@ -323,7 +323,6 @@ static struct pernet_operations nat_net_ops = {
|
||||
.exit_batch = nat_exit_net,
|
||||
.id = &nat_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("Stateless NAT actions");
|
||||
|
||||
@@ -465,7 +465,6 @@ static struct pernet_operations pedit_net_ops = {
|
||||
.exit_batch = pedit_exit_net,
|
||||
.id = &pedit_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim(2002-4)");
|
||||
|
||||
@@ -347,7 +347,6 @@ static struct pernet_operations police_net_ops = {
|
||||
.exit_batch = police_exit_net,
|
||||
.id = &police_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init police_init_module(void)
|
||||
|
||||
@@ -249,7 +249,6 @@ static struct pernet_operations sample_net_ops = {
|
||||
.exit_batch = sample_exit_net,
|
||||
.id = &sample_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init sample_init_module(void)
|
||||
|
||||
@@ -216,7 +216,6 @@ static struct pernet_operations simp_net_ops = {
|
||||
.exit_batch = simp_exit_net,
|
||||
.id = &simp_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim(2005)");
|
||||
|
||||
@@ -253,7 +253,6 @@ static struct pernet_operations skbedit_net_ops = {
|
||||
.exit_batch = skbedit_exit_net,
|
||||
.id = &skbedit_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Alexander Duyck, <alexander.h.duyck@intel.com>");
|
||||
|
||||
@@ -279,7 +279,6 @@ static struct pernet_operations skbmod_net_ops = {
|
||||
.exit_batch = skbmod_exit_net,
|
||||
.id = &skbmod_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Jamal Hadi Salim, <jhs@mojatatu.com>");
|
||||
|
||||
@@ -339,7 +339,6 @@ static struct pernet_operations tunnel_key_net_ops = {
|
||||
.exit_batch = tunnel_key_exit_net,
|
||||
.id = &tunnel_key_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init tunnel_key_init_module(void)
|
||||
|
||||
@@ -314,7 +314,6 @@ static struct pernet_operations vlan_net_ops = {
|
||||
.exit_batch = vlan_exit_net,
|
||||
.id = &vlan_net_id,
|
||||
.size = sizeof(struct tc_action_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init vlan_init_module(void)
|
||||
|
||||
@@ -1619,7 +1619,6 @@ static struct pernet_operations tcf_net_ops = {
|
||||
.exit = tcf_net_exit,
|
||||
.id = &tcf_net_id,
|
||||
.size = sizeof(struct tcf_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init tc_filter_init(void)
|
||||
|
||||
@@ -2133,7 +2133,6 @@ static void __net_exit psched_net_exit(struct net *net)
|
||||
static struct pernet_operations psched_net_ops = {
|
||||
.init = psched_net_init,
|
||||
.exit = psched_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init pktsched_init(void)
|
||||
|
||||
Reference in New Issue
Block a user