History

Revert "netfilter: xt_quota: fix the behavior of xt_quota module"

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.

Pablo Neira Ayuso committed 8 years ago

Commit af510eb1 parent 468c0412 files · +36 −27Browse files

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

Unified · Split

include/uapi/linux/netfilter/xt_quota.h+3−5
@@ -15,11 +15,9 @@ struct xt_quota_info { · 14 unmodified lines
1515 __u32 flags;
1616 __u32 pad;
1717 __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;
2321 };
2422
2523 #endif /* _XT_QUOTA_H */

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