commit | 135367b8f6a18507af6b9a6910a14b5699415309 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Fri Mar 19 17:16:42 2010 +0100 |
committer | Jan Engelhardt <jengelh@medozas.de> | Thu Mar 25 16:04:33 2010 +0100 |
tree | 462e8efb6f4e634421b5c01e96b02280c512eeab | |
parent | b0f38452ff73da7e9e0ddc68cd5c6b93c897ca0d [diff] |
netfilter: xtables: change xt_target.checkentry return type Restore function signatures from bool to int so that we can report memory allocation failures or similar using -ENOMEM rather than always having to pass -EINVAL back. // <smpl> @@ type bool; identifier check, par; @@ -bool check +int check (struct xt_tgchk_param *par) { ... } // </smpl> Minus the change it does to xt_ct_find_proto. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>