forked from TencentOS/TencentOS-kernel
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:
parent
de427fd173
commit
7ab7c64182
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue