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)
commit0038ff357f05fee242aa4e5ec5e75f83fa1ed28c
treea9ed7a8ed2f4840668e287c5e4c26be8642826a1
parent6dbd3e66e7785a2f055bf84d98de9b8fd31ff3f5
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