netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/3] netfilter: handle hash resize situation in nf_ct_iterate_cleanup
@ 2017-05-21  5:39 Liping Zhang
  2017-05-21  5:39 ` [PATCH nf-next 1/3] netfilter: restart nf ct cleanup if hash resize happen Liping Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Liping Zhang @ 2017-05-21  5:39 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel, Liping Zhang

From: Liping Zhang <zlpnobody@gmail.com>

First, when we do nf ct cleanup, we should also handle the hash resize
situation, so we will not miss the related conntracks, this is important
for module removal.

After we accomplish this, we can use nf_ct_iterate_cleanup to remove these
copy & paste codes, which are used to unlink cthelper objects and
cttimeout objects.

Liping Zhang (3):
  netfilter: restart nf ct cleanup if hash resize happen
  netfilter: nf_ct_helper: use nf_ct_iterate_cleanup to unlink helper
    objs
  netfilter: cttimeout: use nf_ct_iterate_cleanup to unlink timeout objs

 net/netfilter/nf_conntrack_core.c   | 35 ++++++++++++++++++----------
 net/netfilter/nf_conntrack_helper.c | 46 ++++---------------------------------
 net/netfilter/nfnetlink_cttimeout.c | 39 ++++---------------------------
 3 files changed, 32 insertions(+), 88 deletions(-)

-- 
2.5.5



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-05-21 11:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-21  5:39 [PATCH nf-next 0/3] netfilter: handle hash resize situation in nf_ct_iterate_cleanup Liping Zhang
2017-05-21  5:39 ` [PATCH nf-next 1/3] netfilter: restart nf ct cleanup if hash resize happen Liping Zhang
2017-05-21  8:09   ` Florian Westphal
2017-05-21  5:39 ` [PATCH nf-next 2/3] netfilter: nf_ct_helper: use nf_ct_iterate_cleanup to unlink helper objs Liping Zhang
2017-05-21  8:15   ` Florian Westphal
2017-05-21 10:17     ` Liping Zhang
2017-05-21 10:31       ` Florian Westphal
2017-05-21 11:05         ` Liping Zhang
2017-05-21 11:10           ` Florian Westphal
2017-05-21  5:39 ` [PATCH nf-next 3/3] netfilter: cttimeout: use nf_ct_iterate_cleanup to unlink timeout objs Liping Zhang
2017-05-21  8:07 ` [PATCH nf-next 0/3] netfilter: handle hash resize situation in nf_ct_iterate_cleanup Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).