diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 12:57:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 05:12:18 +0300 |
commit | 55f3e149b69004b95be47c891da50327ea8c0eb4 (patch) | |
tree | b4081840ef18aed5fce26d6072a5335cce16428b /drivers/vhost | |
parent | b9ca2f5ff7784d46285a8f1b14419ac4645096f7 (diff) | |
download | linux-55f3e149b69004b95be47c891da50327ea8c0eb4.tar.xz |
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 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions