summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-11-28 00:05:52 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-12-07 12:54:22 +0100
commit795595f68d6c787028345804bb06f5a633af24a2 (patch)
tree37a41411dd3ff65cbb8098626ce61870da48098d /.cocciconfig
parentc97d22e68bfedfacb9e752dee536c69916ae0933 (diff)
downloadlinux-795595f68d6c787028345804bb06f5a633af24a2.tar.gz
linux-795595f68d6c787028345804bb06f5a633af24a2.tar.bz2
linux-795595f68d6c787028345804bb06f5a633af24a2.zip
netfilter: nft_quota: dump consumed quota
Add a new attribute NFTA_QUOTA_CONSUMED that displays the amount of quota that has been already consumed. This allows us to restore the internal state of the quota object between reboots as well as to monitor how wasted it is. This patch changes the logic to account for the consumed bytes, instead of the bytes that remain to be consumed. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions