# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/10/5760681
- Thread: https://ratatoskr.run/kvm/2019/10/5753534/t.md

```text
> 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>
```
