commit | a4c278d1bee1e2add3f12705401c1c5e6470f291 | [log] [tgz] |
---|---|---|
author | Huang Zijiang <huang.zijiang@zte.com.cn> | Wed Feb 12 17:54:36 2020 +0800 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Feb 19 09:33:56 2020 +0100 |
tree | 96fb3df8a92b2a571cac8abd15d8b3b865581f17 | |
parent | 92df9f8a745ee9b8cc250514272345cb2e74e7ef [diff] |
xfrm: Use kmem_cache_zalloc() instead of kmem_cache_alloc() with flag GFP_ZERO. 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@zte.com.cn> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>