linux/drivers/vhost
Stefano Garzarella 70d594d17e vhost/vsock: split packets to send using multiple buffers
commit 6dbd3e66e7 upstream.

If the packets to sent to the guest are bigger than the buffer
available, we can split them, using multiple buffers and fixing
the length in the packet header.
This is safe since virtio-vsock supports only stream sockets.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-01 09:16:08 +01:00
..
Kconfig
Kconfig.vringh
Makefile
net.c
scsi.c
test.c
test.h
vhost.c vhost: make sure log_num < in_num 2019-09-16 08:22:25 +02:00
vhost.h
vringh.c
vsock.c vhost/vsock: split packets to send using multiple buffers 2019-12-01 09:16:08 +01:00