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

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

This is the second version of the feature - 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 a 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      |  12 ++-
 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                |  36 ++++++---
 net/netfilter/xt_nfacct.c                     | 109 +++++++++++++++++++++++---
 7 files changed, 152 insertions(+), 25 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2014-01-20 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 14:55 [PATCH v2 0/1] Add quota capabilities to nfacct mathieu.poirier
2014-01-20 14:55 ` [PATCH v2 1/1] netfilter: xtables: add quota support " mathieu.poirier

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