netfilter: add and use nf_ct_unconfirmed_destroy
authorFlorian Westphal <fw@strlen.de>
Tue, 25 Jul 2017 22:02:32 +0000 (00:02 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 31 Jul 2017 17:09:39 +0000 (19:09 +0200)
commit84657984c26fd0b64743a397f3a1a587fa4b575a
treeb178213018f5ce363f399020bacfc68f40a74a54
parentac7b848390036dadd4351899d2a23748075916bd
netfilter: add and use nf_ct_unconfirmed_destroy

This also removes __nf_ct_unconfirmed_destroy() call from
nf_ct_iterate_cleanup_net, so that function can be used only
when missing conntracks from unconfirmed list isn't a problem.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nfnetlink_cttimeout.c