aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_quota.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_quota.c')
-rw-r--r--net/netfilter/xt_quota.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/xt_quota.c b/net/netfilter/xt_quota.c
index 44c8eb4c9d66..10d61a6eed71 100644
--- a/net/netfilter/xt_quota.c
+++ b/net/netfilter/xt_quota.c
@@ -73,6 +73,7 @@ static struct xt_match quota_mt_reg __read_mostly = {
.checkentry = quota_mt_check,
.destroy = quota_mt_destroy,
.matchsize = sizeof(struct xt_quota_info),
+ .usersize = offsetof(struct xt_quota_info, master),
.me = THIS_MODULE,
};