diff options
author | Reilly Grant <grantr@vmware.com> | 2013-04-01 11:41:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-02 14:39:17 -0400 |
commit | 990454b5a48babde44a23c0f22bae5523f4fdf13 (patch) | |
tree | bf5f8ac3ed45b6a2e50225496d099c6d1059a56c /net/vmw_vsock/vsock_addr.h | |
parent | 25fb6ca4ed9cad72f14f61629b68dc03c0d9713f (diff) |
VSOCK: Handle changes to the VMCI context ID.
The VMCI context ID of a virtual machine may change at any time. There
is a VMCI event which signals this but datagrams may be processed before
this is handled. It is therefore necessary to be flexible about the
destination context ID of any datagrams received. (It can be assumed to
be correct because it is provided by the hypervisor.) The context ID on
existing sockets should be updated to reflect how the hypervisor is
currently referring to the system.
Signed-off-by: Reilly Grant <grantr@vmware.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock/vsock_addr.h')
-rw-r--r-- | net/vmw_vsock/vsock_addr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/vmw_vsock/vsock_addr.h b/net/vmw_vsock/vsock_addr.h index cdfbcefdf84..9ccd5316eac 100644 --- a/net/vmw_vsock/vsock_addr.h +++ b/net/vmw_vsock/vsock_addr.h @@ -24,8 +24,6 @@ bool vsock_addr_bound(const struct sockaddr_vm *addr); void vsock_addr_unbind(struct sockaddr_vm *addr); bool vsock_addr_equals_addr(const struct sockaddr_vm *addr, const struct sockaddr_vm *other); -bool vsock_addr_equals_addr_any(const struct sockaddr_vm *addr, - const struct sockaddr_vm *other); int vsock_addr_cast(const struct sockaddr *addr, size_t len, struct sockaddr_vm **out_addr); |