diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 10:57:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:12:18 -0800 |
commit | 55f3e149b69004b95be47c891da50327ea8c0eb4 (patch) | |
tree | b4081840ef18aed5fce26d6072a5335cce16428b /include/kvm | |
parent | b9ca2f5ff7784d46285a8f1b14419ac4645096f7 (diff) |
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>
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 'include/kvm')
0 files changed, 0 insertions, 0 deletions