netfilter: adding the original quota2 from xtables-addons
authorJP Abgrall <jpa@google.com>
Tue, 21 Jun 2011 18:14:49 +0000 (11:14 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:23 +0000 (13:51 -0800)
commit8577f158df19072bcc9bea7bdb2dfce333927205
treef993cdc11b0034bf515e7ac50725a747b28592e3
parent877ca0fe3a19ef0ceaae6e99c89860fa39119ef7
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]