]> git.baikalelectronics.ru Git - kernel.git/commit
vsock: lookup and setup guest_cid inside vhost_vsock_lock
authorGao feng <omarapazanadi@gmail.com>
Wed, 14 Dec 2016 11:24:36 +0000 (19:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:12:49 +0000 (00:12 +0200)
commit7cb1fcc4db9c4486b074eece7cf462ef1b0d1d18
tree2410b49fbd4cdf62937e2045a1e4e0c97a74daa0
parent36fcc1f450cb78ae12b676fff7821483fde4e5ff
vsock: lookup and setup guest_cid inside vhost_vsock_lock

Multi vsocks may setup the same cid at the same time.

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
drivers/vhost/vsock.c