Revert "netfilter: xt_quota: fix the behavior of xt_quota module"
This reverts commit e9837e55b0.
When talking to Maze and Chenbo, we agreed to keep this back by now
due to problems in the ruleset listing path with 32-bit arches.
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
468c041cff
commit
af510ebd89
2 changed files with 35 additions and 26 deletions
|
|
@ -15,11 +15,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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue