netfilter: nf_flow_table: set default timeout after successful insertion
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 2 Sep 2019 17:37:43 +0000 (19:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 3 Sep 2019 20:55:42 +0000 (22:55 +0200)
commit110e48725db6262f260f10727d0fb2d3d25895e4
tree071bd00551e13faf6ed058e7e45840636a4c3bbf
parentb067fa009c884401d23846251031c1f14d8a9c77
netfilter: nf_flow_table: set default timeout after successful insertion

Set up the default timeout for this new entry otherwise the garbage
collector might quickly remove it right after the flowtable insertion.

Fixes: ac2a66665e23 ("netfilter: add generic flow table infrastructure")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c