From e2c717d1fdfb682628e3bdbda8fd9399a95f287b Mon Sep 17 00:00:00 2001 From: Jiuzhu Dong Date: Wed, 15 Sep 2021 19:27:08 +0800 Subject: [PATCH] net: limit NET_NACTIVESOCKETS to 4 when enable DEFAULT_SMALL Change-Id: Iac28b59227f84c4df0d81d75f34aabad39191f5b Signed-off-by: Jiuzhu Dong --- net/socket/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/socket/Kconfig b/net/socket/Kconfig index c34628d3f1d..39d1c46b36f 100644 --- a/net/socket/Kconfig +++ b/net/socket/Kconfig @@ -7,7 +7,8 @@ menu "Socket Support" config NET_NACTIVESOCKETS int "Max socket operations" - default 16 + default 16 if !DEFAULT_SMALL + default 4 if DEFAULT_SMALL ---help--- Maximum number of concurrent socket operations (recv, send, connection monitoring, etc.). Default: 16