From: Jan Engelhardt Date: Fri, 19 Mar 2010 16:16:42 +0000 (+0100) Subject: netfilter: xtables: change xt_target.checkentry return type X-Git-Tag: v2.6.35-rc1~473^2~168^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135367b8f6a18507af6b9a6910a14b5699415309;p=pandora-kernel.git 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. // @@ type bool; identifier check, par; @@ -bool check +int check (struct xt_tgchk_param *par) { ... } // Minus the change it does to xt_ct_find_proto. Signed-off-by: Jan Engelhardt --- Reading git-diff-tree failed