commit | ff1acc4964ccde61a4134c789314593d40dd3c93 | [log] [tgz] |
---|---|---|
author | Liping Zhang <zlpnobody@gmail.com> | Sun May 28 22:35:52 2017 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon May 29 12:46:23 2017 +0200 |
tree | 684fe479ca4af206ba674b9d5fdf841017b211f4 | |
parent | 446a8268b7f56830d8c7b562718ba9dc113ab3c1 [diff] |
netfilter: nf_ct_helper: use nf_ct_iterate_destroy to unlink helper objs When we unlink the helper objects, we will iterate the nf_conntrack_hash, iterate the unconfirmed list, handle the hash resize situation, etc. Actually this logic is same as the nf_ct_iterate_destroy, so we can use it to remove these copy & paste code. Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>