diff options
author | JP Abgrall <jpa@google.com> | 2011-07-12 12:02:59 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:38:49 -0800 |
commit | c39f2e08a71167754a0949f64e95c0a03525af61 (patch) | |
tree | 1d9785b95cc4a62093c61e80b3e166534ba779cf /kernel | |
parent | c0f1d96b9d9d8bb093684d1d6933b2af86e3f13f (diff) |
netfitler: fixup the quota2, and enable.
The xt_quota2 came from
http://sourceforge.net/projects/xtables-addons/develop
It needed tweaking for it to compile within the kernel tree.
Fixed kmalloc() and create_proc_entry() invocations within
a non-interruptible context.
Removed useless copying of current quota back to the iptable's
struct matchinfo:
- those are per CPU: they will change randomly based on which
cpu gets to update the value.
- they prevent matching a rule: e.g.
-A chain -m quota2 --name q1 --quota 123
can't be followed by
-D chain -m quota2 --name q1 --quota 123
as the 123 will be compared to the struct matchinfo's quota member.
Change-Id: I021d3b743db3b22158cc49acb5c94d905b501492
Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions