diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 12:57:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 05:12:18 +0300 |
commit | fe502c4a38d97e5f8b9d5602af1f07f5abc529d2 (patch) | |
tree | 13e3f73b9d1c564c57f4a531d4f1602546f48d9e /net/vmw_vsock/virtio_transport.c | |
parent | 3603a2e991a82e5094c3107a792859b08342aed3 (diff) | |
download | linux-fe502c4a38d97e5f8b9d5602af1f07f5abc529d2.tar.xz |
vsock: add 'transport' member in the struct vsock_sock
As a preparation to support multiple transports, this patch adds
the 'transport' member at the 'struct vsock_sock'.
This new field is initialized during the creation in the
__vsock_create() function.
This patch also renames the global 'transport' pointer to
'transport_single', since for now we're only supporting a single
transport registered at run-time.
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 'net/vmw_vsock/virtio_transport.c')
0 files changed, 0 insertions, 0 deletions