From: Asias He Date: Thu, 20 Jun 2013 09:20:33 +0000 (+0800) Subject: VSOCK: Fix VSOCK_HASH and VSOCK_CONN_HASH X-Git-Tag: v3.11-rc1~64^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49dd9dcb50195b35a5e59eb65b8e56584874630;p=pandora-kernel.git 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 Acked-by: Andy King Signed-off-by: David S. Miller --- Reading git-diff-tree failed