]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init
authorYueHaibing <yuehaibing@huawei.com>
Fri, 22 Feb 2019 06:15:30 +0000 (14:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Feb 2019 21:46:24 +0000 (13:46 -0800)
commitc211524029a1495763889c1489401c3e62a8e11b
tree4a4dfb67b4ebc462ffbd17088b3212f51e08d684
parent923b55cf5078f2fe2f11d1b3a9b3d5ecf07a5efc
kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init

There has check NULL on kmem_cache_create on failure in kcm_init,
no need use SLAB_PANIC to panic the system.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/kcm/kcmsock.c