summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-11-14 12:57:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-15 05:12:18 +0300
commitdaabfbca34ecfa936d3bf5219167c4c5e67db150 (patch)
tree8a3c3a723d0656fa542e51cac710c7f69f4557bd /drivers/vhost
parent4c7246dc45e2706770d5233f7ce1597a07e069ba (diff)
downloadlinux-daabfbca34ecfa936d3bf5219167c4c5e67db150.tar.xz
vsock: add 'struct vsock_sock *' param to vsock_core_get_transport()
Since now the 'struct vsock_sock' object contains a pointer to the transport, this patch adds a parameter to the vsock_core_get_transport() to return the right transport assigned to the socket. This patch modifies also the virtio_transport_get_ops(), that uses the vsock_core_get_transport(), adding the 'struct vsock_sock *' parameter. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Jorgen Hansen <jhansen@vmware.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions