diff --git a/net/core/neighbour.c b/net/core/neighbour.c index e471c32e448f..6233e9856016 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -635,7 +635,7 @@ struct pneigh_entry * pneigh_lookup(struct neigh_table *tbl, ASSERT_RTNL(); - n = kmalloc(sizeof(*n) + key_len, GFP_KERNEL); + n = kzalloc(sizeof(*n) + key_len, GFP_KERNEL); if (!n) goto out;