]> git.baikalelectronics.ru Git - kernel.git/commit
hv_sock: set VMADDR_CID_HOST in the hvs_remote_addr_init()
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 14 Nov 2019 09:57:45 +0000 (10:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 02:12:18 +0000 (18:12 -0800)
commit864f7e6e8943b1b7eaef1cb16759f1367ca3706b
tree087ba96b112112193ecc30850e1ba45855386821
parent497c941d3080b3312c48327ce9c549812097f73f
hv_sock: set VMADDR_CID_HOST in the hvs_remote_addr_init()

Remote peer is always the host, so we set VMADDR_CID_HOST as
remote CID instead of VMADDR_CID_ANY.

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/hyperv_transport.c