]> git.baikalelectronics.ru Git - kernel.git/commit
net/core/neighbour: fix kmemleak minimal reference count for hash tables
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Mon, 14 Jan 2019 10:38:43 +0000 (13:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 21:39:18 +0000 (13:39 -0800)
commit36c4ace5a77919e6b54095ba12c93898c2321b7c
tree1ba86553f3dcb6878e64ed56ea381bf961e9c53c
parent16e295aa81aac7b47b3dbe9b023c4bf78343771f
net/core/neighbour: fix kmemleak minimal reference count for hash tables

This should be 1 for normal allocations, 0 disables leak reporting.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Reported-by: Cong Wang <xiyou.wangcong@gmail.com>
Fixes: 65301fbc179f ("net/core/neighbour: tell kmemleak about hash tables")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c