diff --git a/net/core/neighbour.c b/net/core/neighbour.c index e471c32e448f6e33094f40716a1a0c180308a20c..6233e9856016e74e7aee25f763c4b297d90b5da8 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;