[IPSEC]: kmalloc + memset conversion to kzalloc
authorJoonwoo Park <joonwpark81@gmail.com>
Mon, 26 Nov 2007 15:23:21 +0000 (23:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:05 +0000 (14:55 -0800)
commitdcaee95a1b396f85cdc28099f39710be328d3a5e
tree2408c1ad351b4a12c2ab2423cd854cc67f4f4da8
parent8512430e554a84275669f78f86dce18566d5cf7a
[IPSEC]: kmalloc + memset conversion to kzalloc

2007/11/26, Patrick McHardy <kaber@trash.net>:
> How about also switching vmalloc/get_free_pages to GFP_ZERO
> and getting rid of the memset entirely while you're at it?
>

xfrm_hash: kmalloc + memset conversion to kzalloc
fix to avoid memset entirely.

Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_hash.c