netfilter: adding the original quota2 from xtables-addons
authorJP Abgrall <jpa@google.com>
Tue, 21 Jun 2011 18:14:49 +0000 (11:14 -0700)
committerJP Abgrall <jpa@google.com>
Mon, 11 Jul 2011 23:39:01 +0000 (16:39 -0700)
commit511b7e32086dc7f9c18341f8702745e7ce092354
tree9f74cee6965c784d2fd2a98b93ee8f1aaa7a9196
parentab246b81fb40a587e89f281fe9255833b7540220
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]