Commit 6db59d74 authored by Krishna Kumar's avatar Krishna Kumar Committed by Stephen Hemminger

[NET]: Initialize sysctl_table to NULL in neigh_parms_alloc.

parent e72aee74
...@@ -1094,6 +1094,7 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev, ...@@ -1094,6 +1094,7 @@ struct neigh_parms *neigh_parms_alloc(struct net_device *dev,
kfree(p); kfree(p);
return NULL; return NULL;
} }
p->sysctl_table = NULL;
write_lock_bh(&tbl->lock); write_lock_bh(&tbl->lock);
p->next = tbl->parms.next; p->next = tbl->parms.next;
tbl->parms.next = p; tbl->parms.next = p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment