Re: [PATCH net-next] kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init

2019-02-23 Thread David Miller
From: Yue Haibing Date: Fri, 22 Feb 2019 14:15:30 +0800 > From: YueHaibing > > 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 I'll apply this, thank you.

[PATCH net-next] kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init

2019-02-21 Thread Yue Haibing
From: YueHaibing 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 --- net/kcm/kcmsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index