summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-10-19 11:48:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-19 11:51:30 +0200
commit5a44360e54c455871d3576a0a4303afbfb82088f (patch)
treeb5eb32d9408ca4f5bfa48779603e50e0b22c2bc7 /include
parent2673fafaafd2fb72b2830fa07b172c2d4d5a553e (diff)
Revert "extensions: libxt_quota: Allow setting the remaining quota"
This reverts commit 0a8f2bcadff157489a737f8cc8846adcb750b91f. Google folks are reporting some issues with 32-bits arch, let's revert this until we have a new version for this.
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/xt_quota.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/netfilter/xt_quota.h b/include/linux/netfilter/xt_quota.h
index d817aab2..9314723f 100644
--- a/include/linux/netfilter/xt_quota.h
+++ b/include/linux/netfilter/xt_quota.h
@@ -14,11 +14,9 @@ struct xt_quota_info {
__u32 flags;
__u32 pad;
__aligned_u64 quota;
-#ifdef __KERNEL__
- atomic64_t counter;
-#else
- __aligned_u64 remain;
-#endif
+
+ /* Used internally by the kernel */
+ struct xt_quota_priv *master;
};
#endif /* _XT_QUOTA_H */