]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
netfilter: nft_quota: add depleted flag for objects
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 27 Nov 2016 23:05:56 +0000 (00:05 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Dec 2016 12:22:12 +0000 (13:22 +0100)
commit1896531710abcd9a961a17d0c5c6a9f537d479b6
tree8b8f03d79699e607ab0dfa3e9abf0a9e5404e477
parent2599e98934c5ad166ad184b3682e38aadcb63fb3
netfilter: nft_quota: add depleted flag for objects

Notify on depleted quota objects. The NFT_QUOTA_F_DEPLETED flag
indicates we have reached overquota.

Add pointer to table from nft_object, so we can use it when sending the
depletion notification to userspace.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_quota.c