diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-27 11:02:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-27 13:18:09 -0400 |
commit | 2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch) | |
tree | fe8b187d1530a7e434aecaf2d5a9565247f0263e /net/sched | |
parent | 094374e5e173c6639eccf6a2af5e1357a0869848 (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/sched')
-rw-r--r-- | net/sched/act_api.c | 1 | ||||
-rw-r--r-- | net/sched/act_bpf.c | 1 | ||||
-rw-r--r-- | net/sched/act_connmark.c | 1 | ||||
-rw-r--r-- | net/sched/act_csum.c | 1 | ||||
-rw-r--r-- | net/sched/act_gact.c | 1 | ||||
-rw-r--r-- | net/sched/act_ife.c | 1 | ||||
-rw-r--r-- | net/sched/act_ipt.c | 2 | ||||
-rw-r--r-- | net/sched/act_mirred.c | 1 | ||||
-rw-r--r-- | net/sched/act_nat.c | 1 | ||||
-rw-r--r-- | net/sched/act_pedit.c | 1 | ||||
-rw-r--r-- | net/sched/act_police.c | 1 | ||||
-rw-r--r-- | net/sched/act_sample.c | 1 | ||||
-rw-r--r-- | net/sched/act_simple.c | 1 | ||||
-rw-r--r-- | net/sched/act_skbedit.c | 1 | ||||
-rw-r--r-- | net/sched/act_skbmod.c | 1 | ||||
-rw-r--r-- | net/sched/act_tunnel_key.c | 1 | ||||
-rw-r--r-- | net/sched/act_vlan.c | 1 | ||||
-rw-r--r-- | net/sched/cls_api.c | 1 | ||||
-rw-r--r-- | net/sched/sch_api.c | 1 |
19 files changed, 0 insertions, 20 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 7bd1b964f021..0d78b58e1898 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c | |||
@@ -1533,7 +1533,6 @@ static struct pernet_operations tcf_action_net_ops = { | |||
1533 | .exit = tcf_action_net_exit, | 1533 | .exit = tcf_action_net_exit, |
1534 | .id = &tcf_action_net_id, | 1534 | .id = &tcf_action_net_id, |
1535 | .size = sizeof(struct tcf_action_net), | 1535 | .size = sizeof(struct tcf_action_net), |
1536 | .async = true, | ||
1537 | }; | 1536 | }; |
1538 | 1537 | ||
1539 | static int __init tc_action_init(void) | 1538 | static int __init tc_action_init(void) |
diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c index 5cb9b268e8ff..9092531d45d8 100644 --- a/net/sched/act_bpf.c +++ b/net/sched/act_bpf.c | |||
@@ -413,7 +413,6 @@ static struct pernet_operations bpf_net_ops = { | |||
413 | .exit_batch = bpf_exit_net, | 413 | .exit_batch = bpf_exit_net, |
414 | .id = &bpf_net_id, | 414 | .id = &bpf_net_id, |
415 | .size = sizeof(struct tc_action_net), | 415 | .size = sizeof(struct tc_action_net), |
416 | .async = true, | ||
417 | }; | 416 | }; |
418 | 417 | ||
419 | static int __init bpf_init_module(void) | 418 | static int __init bpf_init_module(void) |
diff --git a/net/sched/act_connmark.c b/net/sched/act_connmark.c index 371e5e4ab3e2..e4b880fa51fe 100644 --- a/net/sched/act_connmark.c +++ b/net/sched/act_connmark.c | |||
@@ -222,7 +222,6 @@ static struct pernet_operations connmark_net_ops = { | |||
222 | .exit_batch = connmark_exit_net, | 222 | .exit_batch = connmark_exit_net, |
223 | .id = &connmark_net_id, | 223 | .id = &connmark_net_id, |
224 | .size = sizeof(struct tc_action_net), | 224 | .size = sizeof(struct tc_action_net), |
225 | .async = true, | ||
226 | }; | 225 | }; |
227 | 226 | ||
228 | static int __init connmark_init_module(void) | 227 | static int __init connmark_init_module(void) |
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c index a527e287c086..7e28b2ce1437 100644 --- a/net/sched/act_csum.c +++ b/net/sched/act_csum.c | |||
@@ -678,7 +678,6 @@ static struct pernet_operations csum_net_ops = { | |||
678 | .exit_batch = csum_exit_net, | 678 | .exit_batch = csum_exit_net, |
679 | .id = &csum_net_id, | 679 | .id = &csum_net_id, |
680 | .size = sizeof(struct tc_action_net), | 680 | .size = sizeof(struct tc_action_net), |
681 | .async = true, | ||
682 | }; | 681 | }; |
683 | 682 | ||
684 | MODULE_DESCRIPTION("Checksum updating actions"); | 683 | MODULE_DESCRIPTION("Checksum updating actions"); |
diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c index 88fbb8403565..4dc4f153cad8 100644 --- a/net/sched/act_gact.c +++ b/net/sched/act_gact.c | |||
@@ -261,7 +261,6 @@ static struct pernet_operations gact_net_ops = { | |||
261 | .exit_batch = gact_exit_net, | 261 | .exit_batch = gact_exit_net, |
262 | .id = &gact_net_id, | 262 | .id = &gact_net_id, |
263 | .size = sizeof(struct tc_action_net), | 263 | .size = sizeof(struct tc_action_net), |
264 | .async = true, | ||
265 | }; | 264 | }; |
266 | 265 | ||
267 | MODULE_AUTHOR("Jamal Hadi Salim(2002-4)"); | 266 | MODULE_AUTHOR("Jamal Hadi Salim(2002-4)"); |
diff --git a/net/sched/act_ife.c b/net/sched/act_ife.c index 555b1caeff72..a5994cf0512b 100644 --- a/net/sched/act_ife.c +++ b/net/sched/act_ife.c | |||
@@ -870,7 +870,6 @@ static struct pernet_operations ife_net_ops = { | |||
870 | .exit_batch = ife_exit_net, | 870 | .exit_batch = ife_exit_net, |
871 | .id = &ife_net_id, | 871 | .id = &ife_net_id, |
872 | .size = sizeof(struct tc_action_net), | 872 | .size = sizeof(struct tc_action_net), |
873 | .async = true, | ||
874 | }; | 873 | }; |
875 | 874 | ||
876 | static int __init ife_init_module(void) | 875 | static int __init ife_init_module(void) |
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index b5e8565b89c7..14c312d7908f 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c | |||
@@ -352,7 +352,6 @@ static struct pernet_operations ipt_net_ops = { | |||
352 | .exit_batch = ipt_exit_net, | 352 | .exit_batch = ipt_exit_net, |
353 | .id = &ipt_net_id, | 353 | .id = &ipt_net_id, |
354 | .size = sizeof(struct tc_action_net), | 354 | .size = sizeof(struct tc_action_net), |
355 | .async = true, | ||
356 | }; | 355 | }; |
357 | 356 | ||
358 | static int tcf_xt_walker(struct net *net, struct sk_buff *skb, | 357 | static int tcf_xt_walker(struct net *net, struct sk_buff *skb, |
@@ -403,7 +402,6 @@ static struct pernet_operations xt_net_ops = { | |||
403 | .exit_batch = xt_exit_net, | 402 | .exit_batch = xt_exit_net, |
404 | .id = &xt_net_id, | 403 | .id = &xt_net_id, |
405 | .size = sizeof(struct tc_action_net), | 404 | .size = sizeof(struct tc_action_net), |
406 | .async = true, | ||
407 | }; | 405 | }; |
408 | 406 | ||
409 | MODULE_AUTHOR("Jamal Hadi Salim(2002-13)"); | 407 | MODULE_AUTHOR("Jamal Hadi Salim(2002-13)"); |
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 64c86579c3d9..fd34015331ab 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c | |||
@@ -353,7 +353,6 @@ static struct pernet_operations mirred_net_ops = { | |||
353 | .exit_batch = mirred_exit_net, | 353 | .exit_batch = mirred_exit_net, |
354 | .id = &mirred_net_id, | 354 | .id = &mirred_net_id, |
355 | .size = sizeof(struct tc_action_net), | 355 | .size = sizeof(struct tc_action_net), |
356 | .async = true, | ||
357 | }; | 356 | }; |
358 | 357 | ||
359 | MODULE_AUTHOR("Jamal Hadi Salim(2002)"); | 358 | MODULE_AUTHOR("Jamal Hadi Salim(2002)"); |
diff --git a/net/sched/act_nat.c b/net/sched/act_nat.c index b1bc757f6491..4b5848b6c252 100644 --- a/net/sched/act_nat.c +++ b/net/sched/act_nat.c | |||
@@ -323,7 +323,6 @@ static struct pernet_operations nat_net_ops = { | |||
323 | .exit_batch = nat_exit_net, | 323 | .exit_batch = nat_exit_net, |
324 | .id = &nat_net_id, | 324 | .id = &nat_net_id, |
325 | .size = sizeof(struct tc_action_net), | 325 | .size = sizeof(struct tc_action_net), |
326 | .async = true, | ||
327 | }; | 326 | }; |
328 | 327 | ||
329 | MODULE_DESCRIPTION("Stateless NAT actions"); | 328 | MODULE_DESCRIPTION("Stateless NAT actions"); |
diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c index f392ccaaa0d8..8a925c72db5f 100644 --- a/net/sched/act_pedit.c +++ b/net/sched/act_pedit.c | |||
@@ -465,7 +465,6 @@ static struct pernet_operations pedit_net_ops = { | |||
465 | .exit_batch = pedit_exit_net, | 465 | .exit_batch = pedit_exit_net, |
466 | .id = &pedit_net_id, | 466 | .id = &pedit_net_id, |
467 | .size = sizeof(struct tc_action_net), | 467 | .size = sizeof(struct tc_action_net), |
468 | .async = true, | ||
469 | }; | 468 | }; |
470 | 469 | ||
471 | MODULE_AUTHOR("Jamal Hadi Salim(2002-4)"); | 470 | MODULE_AUTHOR("Jamal Hadi Salim(2002-4)"); |
diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 7081ec75e696..4e72bc2a0dfb 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c | |||
@@ -347,7 +347,6 @@ static struct pernet_operations police_net_ops = { | |||
347 | .exit_batch = police_exit_net, | 347 | .exit_batch = police_exit_net, |
348 | .id = &police_net_id, | 348 | .id = &police_net_id, |
349 | .size = sizeof(struct tc_action_net), | 349 | .size = sizeof(struct tc_action_net), |
350 | .async = true, | ||
351 | }; | 350 | }; |
352 | 351 | ||
353 | static int __init police_init_module(void) | 352 | static int __init police_init_module(void) |
diff --git a/net/sched/act_sample.c b/net/sched/act_sample.c index 3a89f98f17e6..5db358497c9e 100644 --- a/net/sched/act_sample.c +++ b/net/sched/act_sample.c | |||
@@ -249,7 +249,6 @@ static struct pernet_operations sample_net_ops = { | |||
249 | .exit_batch = sample_exit_net, | 249 | .exit_batch = sample_exit_net, |
250 | .id = &sample_net_id, | 250 | .id = &sample_net_id, |
251 | .size = sizeof(struct tc_action_net), | 251 | .size = sizeof(struct tc_action_net), |
252 | .async = true, | ||
253 | }; | 252 | }; |
254 | 253 | ||
255 | static int __init sample_init_module(void) | 254 | static int __init sample_init_module(void) |
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index e84768ae610a..9618b4a83cee 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c | |||
@@ -216,7 +216,6 @@ static struct pernet_operations simp_net_ops = { | |||
216 | .exit_batch = simp_exit_net, | 216 | .exit_batch = simp_exit_net, |
217 | .id = &simp_net_id, | 217 | .id = &simp_net_id, |
218 | .size = sizeof(struct tc_action_net), | 218 | .size = sizeof(struct tc_action_net), |
219 | .async = true, | ||
220 | }; | 219 | }; |
221 | 220 | ||
222 | MODULE_AUTHOR("Jamal Hadi Salim(2005)"); | 221 | MODULE_AUTHOR("Jamal Hadi Salim(2005)"); |
diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c index 7971510fe61b..ddf69fc01bdf 100644 --- a/net/sched/act_skbedit.c +++ b/net/sched/act_skbedit.c | |||
@@ -253,7 +253,6 @@ static struct pernet_operations skbedit_net_ops = { | |||
253 | .exit_batch = skbedit_exit_net, | 253 | .exit_batch = skbedit_exit_net, |
254 | .id = &skbedit_net_id, | 254 | .id = &skbedit_net_id, |
255 | .size = sizeof(struct tc_action_net), | 255 | .size = sizeof(struct tc_action_net), |
256 | .async = true, | ||
257 | }; | 256 | }; |
258 | 257 | ||
259 | MODULE_AUTHOR("Alexander Duyck, <alexander.h.duyck@intel.com>"); | 258 | MODULE_AUTHOR("Alexander Duyck, <alexander.h.duyck@intel.com>"); |
diff --git a/net/sched/act_skbmod.c b/net/sched/act_skbmod.c index 142a996ac776..bbcbdce732cc 100644 --- a/net/sched/act_skbmod.c +++ b/net/sched/act_skbmod.c | |||
@@ -279,7 +279,6 @@ static struct pernet_operations skbmod_net_ops = { | |||
279 | .exit_batch = skbmod_exit_net, | 279 | .exit_batch = skbmod_exit_net, |
280 | .id = &skbmod_net_id, | 280 | .id = &skbmod_net_id, |
281 | .size = sizeof(struct tc_action_net), | 281 | .size = sizeof(struct tc_action_net), |
282 | .async = true, | ||
283 | }; | 282 | }; |
284 | 283 | ||
285 | MODULE_AUTHOR("Jamal Hadi Salim, <jhs@mojatatu.com>"); | 284 | MODULE_AUTHOR("Jamal Hadi Salim, <jhs@mojatatu.com>"); |
diff --git a/net/sched/act_tunnel_key.c b/net/sched/act_tunnel_key.c index a1c8dd406a04..626dac81a48a 100644 --- a/net/sched/act_tunnel_key.c +++ b/net/sched/act_tunnel_key.c | |||
@@ -339,7 +339,6 @@ static struct pernet_operations tunnel_key_net_ops = { | |||
339 | .exit_batch = tunnel_key_exit_net, | 339 | .exit_batch = tunnel_key_exit_net, |
340 | .id = &tunnel_key_net_id, | 340 | .id = &tunnel_key_net_id, |
341 | .size = sizeof(struct tc_action_net), | 341 | .size = sizeof(struct tc_action_net), |
342 | .async = true, | ||
343 | }; | 342 | }; |
344 | 343 | ||
345 | static int __init tunnel_key_init_module(void) | 344 | static int __init tunnel_key_init_module(void) |
diff --git a/net/sched/act_vlan.c b/net/sched/act_vlan.c index 41a66effeb5f..853604685965 100644 --- a/net/sched/act_vlan.c +++ b/net/sched/act_vlan.c | |||
@@ -314,7 +314,6 @@ static struct pernet_operations vlan_net_ops = { | |||
314 | .exit_batch = vlan_exit_net, | 314 | .exit_batch = vlan_exit_net, |
315 | .id = &vlan_net_id, | 315 | .id = &vlan_net_id, |
316 | .size = sizeof(struct tc_action_net), | 316 | .size = sizeof(struct tc_action_net), |
317 | .async = true, | ||
318 | }; | 317 | }; |
319 | 318 | ||
320 | static int __init vlan_init_module(void) | 319 | static int __init vlan_init_module(void) |
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index ec5fe8ec0c3e..b66754f52a9f 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c | |||
@@ -1619,7 +1619,6 @@ static struct pernet_operations tcf_net_ops = { | |||
1619 | .exit = tcf_net_exit, | 1619 | .exit = tcf_net_exit, |
1620 | .id = &tcf_net_id, | 1620 | .id = &tcf_net_id, |
1621 | .size = sizeof(struct tcf_net), | 1621 | .size = sizeof(struct tcf_net), |
1622 | .async = true, | ||
1623 | }; | 1622 | }; |
1624 | 1623 | ||
1625 | static int __init tc_filter_init(void) | 1624 | static int __init tc_filter_init(void) |
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 68f9d942bed4..106dae7e4818 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -2133,7 +2133,6 @@ static void __net_exit psched_net_exit(struct net *net) | |||
2133 | static struct pernet_operations psched_net_ops = { | 2133 | static struct pernet_operations psched_net_ops = { |
2134 | .init = psched_net_init, | 2134 | .init = psched_net_init, |
2135 | .exit = psched_net_exit, | 2135 | .exit = psched_net_exit, |
2136 | .async = true, | ||
2137 | }; | 2136 | }; |
2138 | 2137 | ||
2139 | static int __init pktsched_init(void) | 2138 | static int __init pktsched_init(void) |