diff options
author | 2024-06-20 19:35:27 +0800 | |
---|---|---|
committer | 2024-09-03 10:47:16 +0200 | |
commit | 1ef7f50ccc6e8e2b5de96ad1e304684a277a3055 (patch) | |
tree | aba0641aa02bdb7d027f29a9f76a2a1016db8ad9 /drivers/net/netkit.c | |
parent | net: stmmac: drop the ethtool begin() callback (diff) | |
download | wireguard-linux-1ef7f50ccc6e8e2b5de96ad1e304684a277a3055.tar.xz wireguard-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 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions