Thread (42 messages) 42 messages, 4 authors, 2019-10-11

Re: [RFC PATCH 04/13] vsock: add 'transport' member in the struct vsock_sock

From: Stefan Hajnoczi <hidden>
Date: 2019-10-09 11:46:47
Also in: kvm, linux-hyperv, lkml

On Fri, Sep 27, 2019 at 01:26:54PM +0200, Stefano Garzarella wrote:
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.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
 include/net/af_vsock.h   |  1 +
 net/vmw_vsock/af_vsock.c | 56 +++++++++++++++++++++++++++-------------
 2 files changed, 39 insertions(+), 18 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help