From: Patrick McHardy <[EMAIL PROTECTED]>

Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 net/ipv4/netfilter/ipt_recent.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN 
net/ipv4/netfilter/ipt_recent.c~recent-match-missing-refcnt-initialization 
net/ipv4/netfilter/ipt_recent.c
--- 
devel/net/ipv4/netfilter/ipt_recent.c~recent-match-missing-refcnt-initialization
    2006-06-01 20:31:51.000000000 -0700
+++ devel-akpm/net/ipv4/netfilter/ipt_recent.c  2006-06-01 20:31:51.000000000 
-0700
@@ -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++)
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to