Re: [PATCH net-next v2] netfilter: conntrack: expose gc_scan_interval_max via sysctl
From: Florian Westphal
Date: Thu Mar 12 2026 - 22:10:41 EST
Prasanna S Panchamukhi <panchamukhi@xxxxxxxxxx> wrote:
> The conntrack garbage collection worker uses an adaptive algorithm that
> adjusts the scan interval based on the average timeout of tracked
> entries. The upper bound of this interval is hardcoded as
> GC_SCAN_INTERVAL_MAX (60 seconds).
I already said that I'm not keen on this approach.
Its a 'we can't do any better' type "solution".
If anything I'd be more inclined to make a change that allows to
more easily override the next_run computation via bpf.