summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Perevalov <a.perevalov@samsung.com>2014-07-31 17:14:05 +0400
committerPablo Neira Ayuso <pablo@netfilter.org>2014-07-31 19:55:47 +0200
commitb6d04688040218d66edd8b221e43c67240b83119 (patch)
tree9692e335071a91b87bb35af1aa18ebe23cbe4c46 /include/net
parentd24675cb1fb0f4f5b44ce4ed9cf5c17caf0efa6b (diff)
downloadop-kernel-dev-b6d04688040218d66edd8b221e43c67240b83119.zip
op-kernel-dev-b6d04688040218d66edd8b221e43c67240b83119.tar.gz
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud