[PATCH nf-next 0/3] netfilter: handle hash resize situation in nf_ct_iterate_cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Liping Zhang <zlpnobody@xxxxxxxxx>

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


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux