]> asedeno.scripts.mit.edu Git - linux.git/commit
vsock: add VMADDR_CID_LOCAL definition
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 10 Dec 2019 10:43:03 +0000 (11:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2019 23:01:23 +0000 (15:01 -0800)
commitef343b35d46667668a099655fca4a5b2e43a5dfe
tree415a5973ef15aaa340021bce5c163b31dc422647
parentc5144fcbf25015b850e97a06a24b1ddfbc5579e8
vsock: add VMADDR_CID_LOCAL definition

The VMADDR_CID_RESERVED (1) was used by VMCI, but now it is not
used anymore, so we can reuse it for local communication
(loopback) adding the new well-know CID: VMADDR_CID_LOCAL.

Cc: Jorgen Hansen <jhansen@vmware.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>
include/uapi/linux/vm_sockets.h
net/vmw_vsock/vmci_transport.c