This reverts commit e9837e55b0200da544a095a1fca36efd7fd3ba30. 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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -15,11 +15,9 @@ struct xt_quota_info { · 14 unmodified lines | ||
| 15 | 15 | __u32 flags; |
| 16 | 16 | __u32 pad; |
| 17 | 17 | __aligned_u64 quota; |
| 18 | −#ifdef __KERNEL__ | |
| 19 | − atomic64_t counter; | |
| 20 | −#else | |
| 21 | − __aligned_u64 remain; | |
| 22 | −#endif | |
| 18 | + | |
| 19 | + /* Used internally by the kernel */ | |
| 20 | + struct xt_quota_priv *master; | |
| 23 | 21 | }; |
| 24 | 22 | |
| 25 | 23 | #endif /* _XT_QUOTA_H */ |