From: Cong Wang <xiyou.wangc...@gmail.com> Date: Fri, 19 May 2017 11:21:59 -0700
> As reported by Michal, vsock_stream_sendmsg() could still > sleep at vsock_stream_has_space() after prepare_to_wait(): > > vsock_stream_has_space > vmci_transport_stream_has_space > vmci_qpair_produce_free_space > qp_lock > qp_acquire_queue_mutex > mutex_lock > > Just switch to the new wait API like we did for commit > d9dc8b0f8b4e ("net: fix sleeping for sk_wait_event()"). > > Reported-by: Michal Kubecek <mkube...@suse.cz> > Cc: Stefan Hajnoczi <stefa...@redhat.com> > Cc: Jorgen Hansen <jhan...@vmware.com> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Claudio Imbrenda <imbre...@linux.vnet.ibm.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied, thank you.