Re: [dpdk-dev] [PATCH v2] eal: fix rte_zalloc_socket to zero memory

2018-12-10 Thread Burakov, Anatoly
On 09-Dec-18 8:11 PM, David Harton wrote: The zalloc and calloc functions do not actually zero the memory. Added memset to rte_zmalloc_socket() so allocated memory is cleared. Signed-off-by: David Harton --- v2 Indented if clause lib/librte_eal/common/rte_malloc.c | 5 - 1 file changed

[dpdk-dev] [PATCH v2] eal: fix rte_zalloc_socket to zero memory

2018-12-09 Thread David Harton
The zalloc and calloc functions do not actually zero the memory. Added memset to rte_zmalloc_socket() so allocated memory is cleared. Signed-off-by: David Harton --- v2 Indented if clause lib/librte_eal/common/rte_malloc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a