Re: [dpdk-dev] [PATCH] vhostuser: fix deadlock when vhost unregister

2019-01-12 Thread 孙文杰
Will do, thanks! Maxime Coquelin 于2019年1月10日周四 下午10:48写道: > Hi Sunwenjie, > > Thanks for your patch. > > Please resend with following contribution guidelines, that can be > found in doc/guides/contributing/. > > First, the commit message prefix should be vhost. > For other comments, please see i

[dpdk-dev] [PATCH] vhostuser: fix deadlock when vhost unregister

2019-01-12 Thread sunwenjie
When rte_vhost_driver_unregister delete the connection fd, fdset_try_del will always try and donot release the vhostuser.mutex if the fd is busy, but the fdset_event_dispatch will set the fd to busy and call vhost_user_msg_handler to get vhostuser.mutex, which will cause deadlock. Unlock th

Re: [dpdk-dev] [PATCH] vhostuser: fix deadlock when vhost unregister

2019-01-10 Thread Maxime Coquelin
Hi Sunwenjie, Thanks for your patch. Please resend with following contribution guidelines, that can be found in doc/guides/contributing/. First, the commit message prefix should be vhost. For other comments, please see inline: On 1/8/19 12:45 PM, sunwenjie wrote: When rte_vhost_driver_unre

[dpdk-dev] [PATCH] vhostuser: fix deadlock when vhost unregister

2019-01-09 Thread sunwenjie
When rte_vhost_driver_unregister delete the connection fd, fdset_try_del will always try and donot release the vhostuser.mutex if the fd is busy, but the fdset_event_dispatch will set the fd to busy and call vhost_user_msg_handler to get vhostuser.mutex, which will cause deadlock. To fix i