[PATCH v2 0/1] Add quota capabilities to nfacct

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

 



From: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>

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

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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux