From: Pablo Neira Ayuso Date: Tue, 1 Feb 2011 15:03:46 +0000 (+0100) Subject: netfilter: arpt_mangle: fix return values of checkentry X-Git-Tag: v2.6.37.4~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d328fe937351b9e7bea486e162d6a77bacb3b52;p=pandora-kernel.git netfilter: arpt_mangle: fix return values of checkentry commit 9d0db8b6b1da9e3d4c696ef29449700c58d589db upstream. In 135367b "netfilter: xtables: change xt_target.checkentry return type", the type returned by checkentry was changed from boolean to int, but the return values where not adjusted. arptables: Input/output error This broke arptables with the mangle target since it returns true under success, which is interpreted by xtables as >0, thus returning EIO. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed