Re: [dpdk-dev] [PATCH 1/4] vhost: fix uninitialized vhost queue

2021-03-26 Thread Maxime Coquelin
On 3/17/21 1:56 PM, Jiayu Hu wrote: > This patch allocates vhost queue by rte_zmalloc() to avoid > undefined values. > > Fixes: 8acd7c213353 ("vhost: fix virtqueues metadata allocation") This is not the right commit. rte_malloc was used prior to it. > Signed-off-by: Jiayu Hu > --- > lib/lib

[dpdk-dev] [PATCH 1/4] vhost: fix uninitialized vhost queue

2021-03-16 Thread Jiayu Hu
This patch allocates vhost queue by rte_zmalloc() to avoid undefined values. Fixes: 8acd7c213353 ("vhost: fix virtqueues metadata allocation") Signed-off-by: Jiayu Hu --- lib/librte_vhost/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.c b/lib/