diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-01 16:03:46 +0100 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:58:52 -0700 |
commit | 7c8864bea48017a5166baa01f3bd81bf7ad623d7 (patch) | |
tree | 08b167067fe1c58c3dad56197c956f688e2e9b5f /net/l2tp | |
parent | 79a03efd3311c204f22e92cdf1a4c0d63e1c759c (diff) |
netfilter: arpt_mangle: fix return values of checkentry
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.
The following Linux kernels are affected:
* 2.6.35.9
* 2.6.36.4
* 2.6.37.3
Cc: stable@kernel.org
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
(cherry picked from commit 9d0db8b6b1da9e3d4c696ef29449700c58d589db)
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions