summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2018-07-02 17:33:40 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-18 11:26:32 +0200
commitcb2b36f5a97df76f547fcc4ab444a02522fb6c96 (patch)
tree986120552e919158fb4cbca0d3e43903e577860e /net/smc
parent2a406e8ac7c3e7e96b94d6c0765d5a4641970446 (diff)
downloadlinux-cb2b36f5a97df76f547fcc4ab444a02522fb6c96.tar.bz2
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 <yihung.wei@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions