History

xt_quota: report initial quota value instead of current value to userspace

We should copy the initial value to userspace for iptables-save and to allow removal of specific quota rules.

Changli Gao committed 16 years ago

Commit 49daf6a1 parent b0c81aa2 files · +1 −3Browse files

Showing the changes to include/linux/netfilter (1 of 2 files). Show all

Unified · Split

include/linux/netfilter/xt_quota.h+1−1
@@ -11,9 +11,9 @@ struct xt_quota_priv; · 10 unmodified lines
1111 struct xt_quota_info {
1212 u_int32_t flags;
1313 u_int32_t pad;
14+ aligned_u64 quota;
1415
1516 /* Used internally by the kernel */
16− aligned_u64 quota;
1717 struct xt_quota_priv *master;
1818 };
1919

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t