summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2017-05-19 11:21:59 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-22 14:39:36 -0400
commit499fde662f1957e3cb8d192a94a099ebe19c714b (patch)
tree657506549f0e9edf08189ae6171c7a2e966f7df4 /scripts
parent72ccc471e13b8266d2ee2104521df5b92ba08e9c (diff)
downloadop-kernel-dev-499fde662f1957e3cb8d192a94a099ebe19c714b.zip
op-kernel-dev-499fde662f1957e3cb8d192a94a099ebe19c714b.tar.gz
vsock: use new wait API for vsock_stream_sendmsg()
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 <mkubecek@suse.cz> Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Jorgen Hansen <jhansen@vmware.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud