projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: x_tables: fix pointer leaks to userspace
[linux-2.6-microblaze.git]
/
net
/
netfilter
/
xt_nfacct.c
diff --git
a/net/netfilter/xt_nfacct.c
b/net/netfilter/xt_nfacct.c
index
cc0518f
..
6f92d25
100644
(file)
--- a/
net/netfilter/xt_nfacct.c
+++ b/
net/netfilter/xt_nfacct.c
@@
-62,6
+62,7
@@
static struct xt_match nfacct_mt_reg __read_mostly = {
.match = nfacct_mt,
.destroy = nfacct_mt_destroy,
.matchsize = sizeof(struct xt_nfacct_match_info),
+ .usersize = offsetof(struct xt_nfacct_match_info, nfacct),
.me = THIS_MODULE,
};