]> git.hungrycats.org Git - linux/commitdiff
[NET]: Initialize sysctl_table to NULL in neigh_parms_alloc.
authorKrishna Kumar <krkumar@us.ibm.com>
Wed, 11 Jun 2003 16:23:55 +0000 (09:23 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Wed, 11 Jun 2003 16:23:55 +0000 (09:23 -0700)
net/core/neighbour.c

index 257460cb0749abf1f920b86411c47e2c4b84957c..a70ebc4b50d43aa1671599b51562062d49d3f3cd 100644 (file)
@@ -1094,6 +1094,7 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev,
                        kfree(p);
                        return NULL;
                }
+               p->sysctl_table = NULL;
                write_lock_bh(&tbl->lock);
                p->next         = tbl->parms.next;
                tbl->parms.next = p;