Re: [PATCH net-next] kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init
From: David Miller
Date: Sat Feb 23 2019 - 16:46:22 EST
From: Yue Haibing <yuehaibing@xxxxxxxxxx>
Date: Fri, 22 Feb 2019 14:15:30 +0800
> From: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
I'll apply this, thank you.