]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7961e60516c88c604a45b97d3e214bd2a8e56f32
treef371452f2d62ad5cd18e1b067a6fdf9bcd78bf3b
parent5e7e639b4c8a505c2a9876b227e992d9bbf1b913
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