We should copy the initial value to userspace for iptables-save and to allow removal of specific quota rules.
Showing the changes to include/linux/netfilter (1 of 2 files). Show all
Unified · Split
| @@ -11,9 +11,9 @@ struct xt_quota_priv; · 10 unmodified lines | |||
| 11 | struct xt_quota_info { | 11 | struct xt_quota_info { |
| 12 | u_int32_t flags; | 12 | u_int32_t flags; |
| 13 | u_int32_t pad; | 13 | u_int32_t pad; |
| 14 | aligned_u64 quota; | ||
| 14 | 15 | ||
| 15 | /* Used internally by the kernel */ | 16 | /* Used internally by the kernel */ |
| 16 | aligned_u64 quota; | ||
| 17 | struct xt_quota_priv *master; | 17 | struct xt_quota_priv *master; |
| 18 | }; | 18 | }; |
| 19 | 19 | ||