commit | 8fff1722f705ce5023a0d6d77a31a9d013be2a34 | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Tue Jun 14 20:13:04 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jun 15 12:17:24 2016 +0200 |
tree | 2c344cfe404df472e3e31ee16244a8888b6f335b | |
parent | a02f424863610a0a7abd80c468839e59cfa4d0d8 [diff] |
netfilter: nf_tables: fix a wrong check to skip the inactive rules nft_genmask_cur has already done left-shift operator on the gencursor, so there's no need to do left-shift operator on it again. Fixes: ea4bd995b0f2 ("netfilter: nf_tables: add transaction helper functions") Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>