netfilter: adding the original quota2 from xtables-addons
authorJP Abgrall <jpa@google.com>
Tue, 21 Jun 2011 18:14:49 +0000 (11:14 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:36 +0000 (13:40 -0700)
commit3db08b39ea752748744e9c7733ce9ef54bed9f3b
tree2aba5fef17326c55fc7abac723f023b94870cea8
parent059b9754afb38de7e0844a7a2949d141448cbfd6
netfilter: adding the original quota2 from xtables-addons

The original xt_quota in the kernel is plain broken:
  - counts quota at a per CPU level
    (was written back when ubiquitous SMP was just a dream)
  - provides no way to count across IPV4/IPV6.

This patch is the original unaltered code from:
  http://sourceforge.net/projects/xtables-addons

  at commit e84391ce665cef046967f796dd91026851d6bbf3

Change-Id: I19d49858840effee9ecf6cff03c23b45a97efdeb
Signed-off-by: JP Abgrall <jpa@google.com>
include/linux/netfilter/xt_quota2.h [new file with mode: 0644]
net/netfilter/xt_quota2.c [new file with mode: 0644]