projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e889b
)
[NETFILTER]: recent match: missing refcnt initialization
author
Patrick McHardy
<kaber@trash.net>
Fri, 9 Jun 2006 19:18:17 +0000
(12:18 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:30:09 +0000
(21:30 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_recent.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/ipt_recent.c
b/net/ipv4/netfilter/ipt_recent.c
index
9b09e48
..
61a2139
100644
(file)
--- a/
net/ipv4/netfilter/ipt_recent.c
+++ b/
net/ipv4/netfilter/ipt_recent.c
@@
-262,6
+262,7
@@
ipt_recent_checkentry(const char *tablename, const void *ip,
GFP_KERNEL);
if (t == NULL)
goto out;
+ t->refcnt = 1;
strcpy(t->name, info->name);
INIT_LIST_HEAD(&t->lru_list);
for (i = 0; i < ip_list_hash_size; i++)