commit | b6d04688040218d66edd8b221e43c67240b83119 | [log] [tgz] |
---|---|---|
author | Alexey Perevalov <a.perevalov@samsung.com> | Thu Jul 31 17:14:05 2014 +0400 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Jul 31 19:55:47 2014 +0200 |
tree | 9692e335071a91b87bb35af1aa18ebe23cbe4c46 | |
parent | d24675cb1fb0f4f5b44ce4ed9cf5c17caf0efa6b [diff] |
netfilter: nfnetlink_acct: avoid using NFACCT_F_OVERQUOTA with bit helper functions Bit helper functions were used for manipulation with NFACCT_F_OVERQUOTA, but they are accepting pit position, but not a bit mask. As a result not a third bit for NFACCT_F_OVERQUOTA was set, but forth. Such behaviour was dangarous and could lead to unexpected overquota report result. Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>