Skip to content
Commit b6d04688 authored by Alexey Perevalov's avatar Alexey Perevalov Committed by Pablo Neira Ayuso
Browse files

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: default avatarAlexey Perevalov <a.perevalov@samsung.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent d24675cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment