RE: [PATCH net-next 09/14] vsock: move vsock_insert_unbound() in the vsock_create()

From
Jorgen Hansen <hidden>
Date
2019-10-30 15:12:50
Also in
kvm, linux-hyperv, lkml, virtualization
Reply to
Stefano Garzarella, 2019-10-23
From: Stefano Garzarella [mailto:sgarzare@redhat.com]
Sent: Wednesday, October 23, 2019 11:56 AM
Subject: [PATCH net-next 09/14] vsock: move vsock_insert_unbound() in the
vsock_create()

vsock_insert_unbound() was called only when 'sock' parameter of
__vsock_create() was not null. This only happened when
__vsock_create() was called by vsock_create().

In order to simplify the multi-transports support, this patch moves
vsock_insert_unbound() at the end of vsock_create().

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
 net/vmw_vsock/af_vsock.c | 13 +++++++++----
Reviewed-by: Jorgen Hansen <redacted>
Thread (46 messages) 46 messages, 3 authors, last reply 2019-11-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help