]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtables: use fixed renew timeout on teardown
authorFlorian Westphal <fw@strlen.de>
Fri, 15 Jun 2018 21:46:42 +0000 (23:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jul 2018 15:51:48 +0000 (17:51 +0200)
commita740083bd034020c8897eff8bd8f013612cc3e56
tree3a40d69540914f35f5adea64e02a6b4b70d26dbc
parent83b85a7dbdb9a645b762b3fccf1726a20b3311ce
netfilter: flowtables: use fixed renew timeout on teardown

This is one of the very few external callers of ->get_timeouts(),

We can use a fixed timeout instead, conntrack core will refresh this in
case a new packet comes within this period.

Use of ESTABLISHED timeout seems way too huge anyway.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c