summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2018-06-02 23:38:49 +0200
committerPablo Neira Ayuso2018-06-03 00:02:10 +0200
commit79b174ade16d90302aef6e14f5eefd0b723c1602 (patch)
tree5093b803e1add42afa344cb0d70f8d2afac7a5e2 /net/netfilter/nf_tables_api.c
parentnetfilter: nf_tables: pass ctx to nf_tables_expr_destroy() (diff)
downloadkernel-qcow2-linux-79b174ade16d90302aef6e14f5eefd0b723c1602.tar.gz
kernel-qcow2-linux-79b174ade16d90302aef6e14f5eefd0b723c1602.tar.xz
kernel-qcow2-linux-79b174ade16d90302aef6e14f5eefd0b723c1602.zip
netfilter: nf_tables: garbage collection for stateful expressions
Use garbage collector to schedule removal of elements based of feedback from expression that this element comes with. Therefore, the garbage collector is not guided by timeout expirations in this new mode. The new connlimit expression sets on the NFT_EXPR_GC flag to enable this behaviour, the dynset expression needs to explicitly enable the garbage collector via set->ops->gc_init call. 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