diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2017-10-30 15:41:00 -0700 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-10-31 09:05:53 -0400 |
commit | ae0d04052e077ccb71772bf5c7cb1049f4d587d2 (patch) | |
tree | 899cad4c8057bb02218757c7f87a76ee41696c39 /arch | |
parent | 45ddce214a797de65c0418bebf90c1b564c3ee3d (diff) | |
download | linux-ae0d04052e077ccb71772bf5c7cb1049f4d587d2.tar.bz2 |
xen/pvcalls: implement recvmsg
Implement recvmsg by copying data from the "in" ring. If not enough data
is available and the recvmsg call is blocking, then wait on the
inflight_conn_req waitqueue. Take the active socket in_mutex so that
only one function can access the ring at any given time.
Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions