]> git.baikalelectronics.ru Git - kernel.git/commit
vsock/virtio: change the maximum packet size allowed
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 30 Jul 2019 15:43:34 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2019 22:00:00 +0000 (15:00 -0700)
commita6de10e6c43d1cddd4f0aee7a2d6a20b5cde410a
treea9ed7a8ed2f4840668e287c5e4c26be8642826a1
parent4e0f28313b6fa68842b3f6b5925de9aa5a96fac2
vsock/virtio: change the maximum packet size allowed

Since now we are able to split packets, we can avoid limiting
their sizes to VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE.
Instead, we can use VIRTIO_VSOCK_MAX_PKT_BUF_SIZE as the max
packet size.

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>
net/vmw_vsock/virtio_transport_common.c