Skip to content

conntrack event subsystem updates for 2.6.31 (part 2)

Pablo Neira Ayuso netfilter-devel 1 version In review

Get series with b4
b4 am 20090504134740.8394.21789.stgit@Decadence

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netfilter: conntrack: move event cache to conntrack extension infrastructureinclude/net/netfilter/nf_conntrack_ecache.h include/net/netfilter/nf_conntrack_extend.h include/net/netns/conntrack.h +3 more+246 -1640 replies
2/2netfilter: conntrack: optional reliable conntrack event deliveryinclude/net/netfilter/nf_conntrack.h include/net/netfilter/nf_conntrack_core.h include/net/netfilter/nf_conntrack_ecache.h +6 more+170 -471 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] conntrack event subsystem updates for 2.6.31 (part 2)

Hi Patrick!

This is the second part of the updates for the conntrack event subsystem. These patches are built on top of the previous patchset. They basically consists of a re-work of the conntrack event cache to switch from per-cpu to the conntrack extension infrastructure that is required by the optional reliable event delivery.

Basically, the idea consists of accumulating undelivered events in the per-conntrack cache to allow another try once the next packet hits the conntrack entry. We may keep losing events but, at worst case, we make sure that destroy events are delivered.

Feedback welcome.

---

Pablo Neira Ayuso (2):
netfilter: conntrack: optional reliable conntrack event delivery
netfilter: conntrack: move event cache to conntrack extension infrastructure

 include/net/netfilter/nf_conntrack.h        |    2 
 include/net/netfilter/nf_conntrack_core.h   |    6 +
 include/net/netfilter/nf_conntrack_ecache.h |  156 ++++++++++++--------
 include/net/netfilter/nf_conntrack_extend.h |    2 
 include/net/netfilter/nf_conntrack_helper.h |    2 
 include/net/netns/conntrack.h               |    7 +
 net/netfilter/nf_conntrack_core.c           |  106 ++++++++++---
 net/netfilter/nf_conntrack_ecache.c         |  215 ++++++++++++++++++---------
 net/netfilter/nf_conntrack_helper.c         |   15 ++
 net/netfilter/nf_conntrack_netlink.c        |   90 +++++++----
 10 files changed, 403 insertions(+), 198 deletions(-)