[dpdk-dev] [PATCH] vhost: fix crash on unregistering in client mode

2018-09-06 Thread Qiang Zhou
the vhost_user_read_cb will reconnect. To fix this: move delete vsocket conn after reconnect Cc: sta...@dpdk.org Signed-off-by: Qiang Zhou --- lib/librte_vhost/socket.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost

[dpdk-dev] [PATCH] vhost: fix crash on unregistering in client mode

2018-09-06 Thread Qiang Zhou
the vhost_user_read_cb will reconnect. To fix this: move delete vsocket conn after reconnect Cc: sta...@dpdk.org Signed-off-by: Qiang Zhou --- lib/librte_vhost/socket.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost