mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 05:05:12 +02:00
quota2: direct-code XT_QUOTA_COUNTER_NAME_LENGTH
This commit is contained in:
@@ -29,7 +29,7 @@ struct xt_quota_counter {
|
||||
spinlock_t lock;
|
||||
struct list_head list;
|
||||
atomic_t ref;
|
||||
char name[XT_QUOTA_COUNTER_NAME_LENGTH];
|
||||
char name[sizeof(((struct xt_quota_mtinfo2 *)NULL)->name)];
|
||||
struct proc_dir_entry *procfs_entry;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user