From: Jan Engelhardt Date: Thu, 25 Mar 2010 15:34:45 +0000 (+0100) Subject: netfilter: xtables: change targets to return error code X-Git-Tag: v2.6.35-rc1~473^2~168^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b00a5345ce4e86e8b00a88bb84a2c0c1f69ddc;p=pandora-kernel.git netfilter: xtables: change targets to return error code Part of the transition of done by this semantic patch: // @ 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; ...> } // Signed-off-by: Jan Engelhardt --- Reading git-diff-tree failed