summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-02 18:03:20 +0200
committerPatrick McHardy <kaber@trash.net>2010-08-02 18:03:20 +0200
commit422342e47c18e70757231f2210b13df8e1f5931c (patch)
treeedf7bd6c631776f5889d472f017f4b68297f6ce0 /include/linux
parentc6775d6c192f7e337360f238cc3ab224a406d5b8 (diff)
libxt_quota: don't ignore the quota value on deletion
Don't ignore the quota value on deletion, then we can remove a special rule everytime. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter/xt_quota.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/xt_quota.h b/include/linux/netfilter/xt_quota.h
index 8dc89dfc..b0d28c65 100644
--- a/include/linux/netfilter/xt_quota.h
+++ b/include/linux/netfilter/xt_quota.h
@@ -11,9 +11,9 @@ struct xt_quota_priv;
struct xt_quota_info {
u_int32_t flags;
u_int32_t pad;
+ aligned_u64 quota;
/* Used internally by the kernel */
- aligned_u64 quota;
struct xt_quota_priv *master;
};