]> Git Repo - linux.git/commit
af_vsock: separate receive data loop
authorArseny Krasnov <[email protected]>
Fri, 11 Jun 2021 11:10:21 +0000 (14:10 +0300)
committerDavid S. Miller <[email protected]>
Fri, 11 Jun 2021 20:32:46 +0000 (13:32 -0700)
commit19c1b90e1979c3974cd6a3ec0cbb886a84278d84
tree98919f63c82b3290f5aa66d345fff9b10e8ae18f
parentb3f7fd54881bcba5dc529935f38df649167803b1
af_vsock: separate receive data loop

Some code in receive data loop could be shared between SEQPACKET
and STREAM sockets, while another part is type specific, so move STREAM
specific data receive logic to '__vsock_stream_recvmsg()' dedicated
function, while checks, that will be same for both STREAM and SEQPACKET
sockets, stays in 'vsock_connectible_recvmsg()'.

Signed-off-by: Arseny Krasnov <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/vmw_vsock/af_vsock.c
This page took 0.058684 seconds and 4 git commands to generate.