]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit01b833ab44c9e484060aad72267fc7e71beb559b
tree1ba86553f3dcb6878e64ed56ea381bf961e9c53c
parent400b8b9a2a17918f8ce00786f596f530e7f30d50
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: 85704cb8dcfd ("net/core/neighbour: tell kmemleak about hash tables")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c