netfilter: expect: add and use nf_ct_expect_iterate helpers
authorFlorian Westphal <fw@strlen.de>
Tue, 25 Jul 2017 22:02:31 +0000 (00:02 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 31 Jul 2017 17:09:38 +0000 (19:09 +0200)
commitac7b848390036dadd4351899d2a23748075916bd
treef371452f2d62ad5cd18e1b067a6fdf9bcd78bf3b
parenta232cd0e0cf1ede77b047bc0c98142cd51f318e3
netfilter: expect: add and use nf_ct_expect_iterate helpers

We have several spots that open-code a expect walk, add a helper
that is similar to nf_ct_iterate_destroy/nf_ct_iterate_cleanup.

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