: recent match: missing refcnt initialization
Subsystems (2)
PATCH 2/3 : recent match: missing refcnt initialization
[NETFILTER]: recent match: missing refcnt initialization
Signed-off-by Patrick McHardy <[email protected]>
---
commit 10263005af5814396b8263c1c2a4367d49548e13
tree a73003fe82e7b4546359d86f684b90b78a6aa504
parent 6812aa38ac35d6e819058d2273a6a7de091a2604
author Patrick McHardy <[email protected]> Thu, 01 Jun 2006 16:49:58 +0200 committer Patrick McHardy <[email protected]> Thu, 01 Jun 2006 16:49:58 +0200
net/ipv4/netfilter/ipt_recent.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
net/ipv4/netfilter/ipt_recent.c +1 -0
@@ -262,6 +262,7 @@ ipt_recent_checkentry(const char *tablen 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++)