diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-01-06 00:26:38 +0300 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-01-16 17:51:47 +0300 |
| commit | 79b9b685dde1d1bf43cf84163c76953dc3781c85 (patch) | |
| tree | 2bf71fe778e4cce8afe029f90bea1e603ad7141a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4a7faaf4add3108522512c16c9ee08fb2ad4525e (diff) | |
| download | linux-79b9b685dde1d1bf43cf84163c76953dc3781c85.tar.xz | |
netfilter: flowtable: fetch stats only if flow is still alive
Do not fetch statistics if flow has expired since it might not in
hardware anymore. After this update, remove the FLOW_OFFLOAD_HW_DYING
check from nf_flow_offload_stats() since this flag is never set on.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: wenxu <wenxu@ucloud.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
