From 7ab7c64182ce8d628aba97dc856fbca5bc96759e Mon Sep 17 00:00:00 2001 From: Hongbo Li Date: Wed, 1 Jul 2020 10:31:43 +0800 Subject: [PATCH] net: increase listening hash size increase listening hash size from 32 to 4096 Signed-off-by: Hongbo Li --- include/net/inet_hashtables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 2dbbbff5e..ee5c54bd6 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h @@ -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