diff options
| author | Fernando Fernandez Mancera <fmancera@suse.de> | 2025-12-17 15:46:40 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-01-02 10:44:28 +0100 |
| commit | 7811ba452402d58628e68faedf38745b3d485e3c (patch) | |
| tree | 381719fe1e03a1ac7aa6bd61fff328fdae6a676e /scripts/atomic/git@git.tavy.me:linux.git | |
| parent | d077e8119ddbb4fca67540f1a52453631a47f221 (diff) | |
netfilter: nf_conncount: update last_gc only when GC has been performed
Currently last_gc is being updated everytime a new connection is
tracked, that means that it is updated even if a GC wasn't performed.
With a sufficiently high packet rate, it is possible to always bypass
the GC, causing the list to grow infinitely.
Update the last_gc value only when a GC has been actually performed.
Fixes: d265929930e2 ("netfilter: nf_conncount: reduce unnecessary GC")
Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'scripts/atomic/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
