summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-01-05 22:26:38 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-16 15:51:47 +0100
commit79b9b685dde1d1bf43cf84163c76953dc3781c85 (patch)
tree2bf71fe778e4cce8afe029f90bea1e603ad7141a /scripts
parent4a7faaf4add3108522512c16c9ee08fb2ad4525e (diff)
downloadlinux-79b9b685dde1d1bf43cf84163c76953dc3781c85.tar.gz
linux-79b9b685dde1d1bf43cf84163c76953dc3781c85.tar.bz2
linux-79b9b685dde1d1bf43cf84163c76953dc3781c85.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions