Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-13 Thread Yuanhan Liu
On Mon, Jul 10, 2017 at 11:48:27AM +0200, Jens Freimann wrote: > >@@ -668,7 +668,7 @@ rte_vhost_driver_register(const char *path, uint64_t > >flags) > > } > > > > vhost_user.vsockets[vhost_user.vsocket_cnt++] = vsocket; > >- > >+goto out; > >out_mutex: > > if (pthread_mutex_destroy

Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-13 Thread Yao, Lei A
> -Original Message- > From: Yang, Zhiyong > Sent: Monday, July 10, 2017 4:07 PM > To: dev@dpdk.org > Cc: y...@fridaylinux.org; maxime.coque...@redhat.com; Yao, Lei A > ; Yang, Zhiyong > Subject: [PATCH] vhost: fix vhost-user init failed > > Exception handling is executed in the normal

Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-11 Thread Liu, Yu Y
oque...@redhat.com; Yao, Lei A Subject: Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed On Mon, Jul 10, 2017 at 04:06:48PM +0800, Zhiyong Yang wrote: >Exception handling is executed in the normal path and it will cause >vhost-user init failure. >Fixes: d6983a70e259("vhost: check

Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-10 Thread Jens Freimann
On Mon, Jul 10, 2017 at 04:06:48PM +0800, Zhiyong Yang wrote: Exception handling is executed in the normal path and it will cause vhost-user init failure. Fixes: d6983a70e259("vhost: check return of pthread calls") Reported-by: Lei Yao Signed-off-by: Zhiyong Yang --- lib/librte_vhost/socket.c

Re: [dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-10 Thread Maxime Coquelin
On 07/10/2017 10:06 AM, Zhiyong Yang wrote: Exception handling is executed in the normal path and it will cause vhost-user init failure. Fixes: d6983a70e259("vhost: check return of pthread calls") Reported-by: Lei Yao Signed-off-by: Zhiyong Yang --- lib/librte_vhost/socket.c | 2 +- 1 fil

[dpdk-dev] [PATCH] vhost: fix vhost-user init failed

2017-07-10 Thread Zhiyong Yang
Exception handling is executed in the normal path and it will cause vhost-user init failure. Fixes: d6983a70e259("vhost: check return of pthread calls") Reported-by: Lei Yao Signed-off-by: Zhiyong Yang --- lib/librte_vhost/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g