diff options
| author | Yi-Hung Wei <[email protected]> | 2018-07-02 17:33:40 -0700 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2018-07-18 11:26:32 +0200 |
| commit | cb2b36f5a97df76f547fcc4ab444a02522fb6c96 (patch) | |
| tree | 986120552e919158fb4cbca0d3e43903e577860e /tools/perf/scripts/python/bin | |
| parent | 2a406e8ac7c3e7e96b94d6c0765d5a4641970446 (diff) | |
netfilter: nf_conncount: Switch to plain list
Original patch is from Florian Westphal.
This patch switches from hlist to plain list to store the list of
connections with the same filtering key in nf_conncount. With the
plain list, we can insert new connections at the tail, so over time
the beginning of list holds long-running connections and those are
expired, while the newly creates ones are at the end.
Later on, we could probably move checked ones to the end of the list,
so the next run has higher chance to reclaim stale entries in the front.
Signed-off-by: Yi-Hung Wei <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions