diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 4721793babed5a775b9488519c8de53a74008912..7597afee70680ae68fccf7119415bf7fdf331a15 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -370,7 +370,7 @@ static struct neigh_hash_table *neigh_hash_alloc(unsigned int shift) buckets = (struct neighbour __rcu **) __get_free_pages(GFP_ATOMIC | __GFP_ZERO, get_order(size)); - kmemleak_alloc(buckets, size, 0, GFP_ATOMIC); + kmemleak_alloc(buckets, size, 1, GFP_ATOMIC); } if (!buckets) { kfree(ret);