diff options
Diffstat (limited to 'include/net/af_unix.h')
-rw-r--r-- | include/net/af_unix.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/af_unix.h b/include/net/af_unix.h index 2ee33da36a7a..b5f8988e4283 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h | |||
@@ -14,10 +14,11 @@ extern struct sock *unix_get_socket(struct file *filp); | |||
14 | extern struct sock *unix_peer_get(struct sock *); | 14 | extern struct sock *unix_peer_get(struct sock *); |
15 | 15 | ||
16 | #define UNIX_HASH_SIZE 256 | 16 | #define UNIX_HASH_SIZE 256 |
17 | #define UNIX_HASH_BITS 8 | ||
17 | 18 | ||
18 | extern unsigned int unix_tot_inflight; | 19 | extern unsigned int unix_tot_inflight; |
19 | extern spinlock_t unix_table_lock; | 20 | extern spinlock_t unix_table_lock; |
20 | extern struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1]; | 21 | extern struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE]; |
21 | 22 | ||
22 | struct unix_address { | 23 | struct unix_address { |
23 | atomic_t refcnt; | 24 | atomic_t refcnt; |