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 > --- > include/net/af_vsock.h | 1 + > net/vmw_vsock/af_vsock.c | 56 +++++++++++++++++++++++++++------------- > 2 files changed, 39 insertions(+), 18 deletions(-) Reviewed-by: Stefan Hajnoczi