Files
linux/drivers
Stefano Garzarella 4c7246dc45 vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()
We are going to add 'struct vsock_sock *' parameter to
virtio_transport_get_ops().

In some cases, like in the virtio_transport_reset_no_sock(),
we don't have any socket assigned to the packet received,
so we can't use the virtio_transport_get_ops().

In order to allow virtio_transport_reset_no_sock() to use the
'.send_pkt' callback from the 'vhost_transport' or 'virtio_transport',
we add the 'struct virtio_transport *' to it and to its caller:
virtio_transport_recv_pkt().

We moved the 'vhost_transport' and 'virtio_transport' definition,
to pass their address to the virtio_transport_recv_pkt().

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-14 18:12:18 -08:00
..
2019-10-28 16:47:22 -07:00
2019-10-24 08:45:31 +03:00
2019-08-27 09:43:59 +02:00
2019-08-16 11:33:56 -07:00
2019-09-23 17:20:40 -04:00
2019-10-15 23:51:36 +02:00
2019-11-12 12:12:39 -08:00
2019-08-18 12:56:10 +02:00
2019-10-15 14:07:01 -06:00