commit | 493618a92c6afdd3f6224ab586f169d6a259bb06 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Oct 14 12:43:50 2014 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Oct 14 12:52:40 2014 +0200 |
tree | 53888e90a90e3a663d23581dc072f60364bf922d | |
parent | 7210e4e38f945dfa173c4a4e59ad827c9ecad541 [diff] |
netfilter: nft_compat: fix hook validation for non-base chains Set hook_mask to zero for non-base chains, otherwise people may hit bogus errors from the xt_check_target() and xt_check_match() when validating the uninitialized hook_mask. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>