linux/net/vmw_vsock
Asias He a49dd9dcb5 VSOCK: Fix VSOCK_HASH and VSOCK_CONN_HASH
If we mod with VSOCK_HASH_SIZE -1, we get 0, 1, .... 249.  Actually, we
have vsock_bind_table[0 ... 250] and vsock_connected_table[0 .. 250].
In this case the last entry will never be used.

We should mod with VSOCK_HASH_SIZE instead.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-23 23:51:48 -07:00
..
af_vsock.c VSOCK: Fix VSOCK_HASH and VSOCK_CONN_HASH 2013-06-23 23:51:48 -07:00
af_vsock.h VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
Kconfig VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
Makefile VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport_notify_qstate.c VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport_notify.c VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport_notify.h VSOCK: Introduce VM Sockets 2013-02-10 19:41:08 -05:00
vmci_transport.c VSOCK: Remove unnecessary label 2013-06-23 23:51:48 -07:00
vmci_transport.h VSOCK: Support VM sockets connected to the hypervisor. 2013-03-15 08:26:26 -04:00
vsock_addr.c VSOCK: Handle changes to the VMCI context ID. 2013-04-02 14:39:17 -04:00
vsock_addr.h VSOCK: Handle changes to the VMCI context ID. 2013-04-02 14:39:17 -04:00