diff options
author | Felix Fietkau <[email protected]> | 2022-05-09 14:26:13 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2022-05-16 12:58:55 +0200 |
commit | 396ef64113a8ba01c46315d67a99db8dde3eef51 (patch) | |
tree | 787f0293245afcefe7ae2ec0dadb56499fd421c8 /lib/mpi/mpi-sub-ui.c | |
parent | f3f19f939c11925dadd3f4776f99f8c278a7017b (diff) |
netfilter: flowtable: fix excessive hw offload attempts after failure
If a flow cannot be offloaded, the code currently repeatedly tries again as
quickly as possible, which can significantly increase system load.
Fix this by limiting flow timeout update and hardware offload retry to once
per second.
Fixes: c07531c01d82 ("netfilter: flowtable: Remove redundant hw refresh bit")
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions