diff options
author | Changliang Wu <changliang.wu@smartx.com> | 2024-06-20 19:35:27 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-03 10:47:16 +0200 |
commit | 1ef7f50ccc6e8e2b5de96ad1e304684a277a3055 (patch) | |
tree | aba0641aa02bdb7d027f29a9f76a2a1016db8ad9 /net/unix/af_unix.c | |
parent | 55ddb6c5a3aef8d8658fe31b1ddda007693ae797 (diff) | |
download | linux-1ef7f50ccc6e8e2b5de96ad1e304684a277a3055.tar.gz linux-1ef7f50ccc6e8e2b5de96ad1e304684a277a3055.tar.bz2 linux-1ef7f50ccc6e8e2b5de96ad1e304684a277a3055.zip |
netfilter: ctnetlink: support CTA_FILTER for flush
From cb8aa9a, we can use kernel side filtering for dump, but
this capability is not available for flush.
This Patch allows advanced filter with CTA_FILTER for flush
Performace
1048576 ct flows in total, delete 50,000 flows by origin src ip
3.06s -> dump all, compare and delete
584ms -> directly flush with filter
Signed-off-by: Changliang Wu <changliang.wu@smartx.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions