summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorAlexey Perevalov2014-07-31 15:14:05 +0200
committerPablo Neira Ayuso2014-07-31 19:55:47 +0200
commitb6d04688040218d66edd8b221e43c67240b83119 (patch)
tree9692e335071a91b87bb35af1aa18ebe23cbe4c46 /net/netfilter/nf_tables_api.c
parentnetfilter: nfnetlink_acct: dump unmodified nfacct flags (diff)
downloadkernel-qcow2-linux-b6d04688040218d66edd8b221e43c67240b83119.tar.gz
kernel-qcow2-linux-b6d04688040218d66edd8b221e43c67240b83119.tar.xz
kernel-qcow2-linux-b6d04688040218d66edd8b221e43c67240b83119.zip
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 'net/netfilter/nf_tables_api.c')
0 files changed, 0 insertions, 0 deletions