netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/1] Add quota capabilities to nfacct
@ 2014-01-26 20:04 mathieu.poirier
  2014-01-26 20:04 ` [PATCH RESEND v2 1/1] netfilter: xtables: add quota support " mathieu.poirier
  0 siblings, 1 reply; 5+ messages in thread
From: mathieu.poirier @ 2014-01-26 20:04 UTC (permalink / raw)
  To: pablo, kaber, kadlec; +Cc: netfilter-devel, netfilter, mathieu.poirier

From: Mathieu Poirier <mathieu.poirier@linaro.org>

Can I ask one of the maintainers to have a quick look at this please? 
The code is simple to understand and the mofications self contained.  
We missed the 3.14 merge window, it would be very disappointing to
miss the next one.

This is the second version of the feature rebased on the 3.13 kernel - all
comments from the maintainer have been followed except for the removal of
a spinlock that protects the integrity of an internal accounting structure.

I have sent a scenario for the output path that explains the concequence of
not having the structure guarded by said spinlock but received no answer.

As such I am sending this second version with all comments addressed less
the spinlock removal in the hope of getting more feedback on the matter.

Corresponding iptables modifications can be found here:
https://git.linaro.org/people/mathieu.poirier/iptables.git

Mathieu Poirier (1):
  netfilter: xtables: add quota support to nfacct

 include/linux/netfilter/nfnetlink_acct.h      |  11 ++-
 include/uapi/linux/netfilter/nfnetlink.h      |   2 +
 include/uapi/linux/netfilter/nfnetlink_acct.h |   1 +
 include/uapi/linux/netfilter/xt_nfacct.h      |  14 ++++
 net/netfilter/Kconfig                         |   3 +-
 net/netfilter/nfnetlink_acct.c                |  35 ++++++---
 net/netfilter/xt_nfacct.c                     | 107 +++++++++++++++++++++++---
 7 files changed, 150 insertions(+), 23 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2014-01-27 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-26 20:04 [PATCH RESEND v2 0/1] Add quota capabilities to nfacct mathieu.poirier
2014-01-26 20:04 ` [PATCH RESEND v2 1/1] netfilter: xtables: add quota support " mathieu.poirier
2014-01-26 23:02   ` Florian Westphal
2014-01-27 15:35     ` Mathieu Poirier
2014-01-27 16:44       ` Pablo Neira Ayuso

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).