net: increase listening hash size

increase listening hash size from 32 to 4096

Signed-off-by: Hongbo Li <herberthbli@tencent.com>
This commit is contained in:
Hongbo Li 2020-07-01 10:31:43 +08:00 committed by Xiaoming Gao
parent de427fd173
commit 7ab7c64182
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ struct inet_listen_hashbucket {
};
/* This is for listening sockets, thus all sockets which possess wildcards. */
#define INET_LHTABLE_SIZE 32 /* Yes, really, this is all you need. */
#define INET_LHTABLE_SIZE 4096
struct inet_hashinfo {
/* This is for sockets with full identity only. Sockets here will