[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200220124452.GX8274@gauss3.secunet.de>
Date: Thu, 20 Feb 2020 13:44:52 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Yi Wang <wang.yi59@....com.cn>
CC: <herbert@...dor.apana.org.au>, <davem@...emloft.net>,
<kuba@...nel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <xue.zhihong@....com.cn>,
<wang.liang82@....com.cn>, Huang Zijiang <huang.zijiang@....com.cn>
Subject: Re: [PATCH] xfrm: Use kmem_cache_zalloc() instead of
kmem_cache_alloc() with flag GFP_ZERO.
On Wed, Feb 12, 2020 at 05:54:36PM +0800, Yi Wang wrote:
> From: Huang Zijiang <huang.zijiang@....com.cn>
>
> Use kmem_cache_zalloc instead of manually setting kmem_cache_alloc
> with flag GFP_ZERO since kzalloc sets allocated memory
> to zero.
>
> Change in v2:
> add indation
>
> Signed-off-by: Huang Zijiang <huang.zijiang@....com.cn>
> Signed-off-by: Yi Wang <wang.yi59@....com.cn>
Applied to ipsec-next, thanks!
Powered by blists - more mailing lists