diff options
author | Yinjun Zhang <yinjun.zhang@corigine.com> | 2021-03-17 15:42:24 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-18 02:32:21 +0300 |
commit | 740b486a8d1f966e68ac0666f1fd57441a7cda94 (patch) | |
tree | b50fd97c7d70245ac55a4ef5bce30efb81fdaa48 /include/net | |
parent | 7b35582cd04ace2fd1807c1b624934e465cc939d (diff) | |
download | linux-740b486a8d1f966e68ac0666f1fd57441a7cda94.tar.xz |
netfilter: flowtable: Make sure GC works periodically in idle system
Currently flowtable's GC work is initialized as deferrable, which
means GC cannot work on time when system is idle. So the hardware
offloaded flow may be deleted for timeout, since its used time is
not timely updated.
Resolve it by initializing the GC work as delayed work instead of
deferrable.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions