Jan Engelhardt
d6b00a5345
netfilter: xtables: change targets to return error code
Part of the transition of done by this semantic patch:
// <smpl>
@ rule1 @
struct xt_target ops;
identifier check;
@@
ops.checkentry = check;
@@
identifier rule1.check;
@@
check(...) { <...
-return true;
+return 0;
...> }
@@
identifier rule1.check;
@@
check(...) { <...
-return false;
+return -EINVAL;
...> }
// </smpl>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-03-25 16:55:49 +01:00
..
2009-12-08 07:55:01 -08:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2009-08-31 15:30:31 +02:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-02-10 17:50:47 +01:00
2010-02-15 16:56:51 +01:00
2010-02-10 17:50:47 +01:00
2010-02-10 17:50:47 +01:00
2009-03-24 13:35:27 -07:00
2009-02-18 18:39:31 +01:00
2010-02-15 18:13:33 +01:00
2010-02-15 18:13:33 +01:00
2010-03-25 16:00:49 +01:00