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)
commite97d9404d5e8aea1f91f4c00dbe7854008f3a1e1
tree3a40d69540914f35f5adea64e02a6b4b70d26dbc
parent6542df2f8412a8a065e987aac940130884028715
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