From a60b3147328a80a3d456712ec2552bae41337816 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 14 Mar 2023 16:21:10 +0800 Subject: [PATCH] ARM: rv1106_defconfig: Set CONFIG_INET_TABLE_PERTURB_ORDER=8 On embedded systems with little memory and no relevant security concerns, it is beneficial to reduce the size of the table. Reducing the size from 2^16 to 2^8 saves 255 KiB of kernel RAM. Fixes: 7e8eaa939eea ("tcp: configurable source port perturb table size") Signed-off-by: Tao Huang Change-Id: I5da1509bbc7b539c367b696bccc67722863cafbe --- arch/arm/configs/rv1106_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/rv1106_defconfig b/arch/arm/configs/rv1106_defconfig index bf50891eec94..8b85fa1083e5 100644 --- a/arch/arm/configs/rv1106_defconfig +++ b/arch/arm/configs/rv1106_defconfig @@ -53,6 +53,7 @@ CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y +CONFIG_INET_TABLE_PERTURB_ORDER=8 # CONFIG_INET_DIAG is not set # CONFIG_IPV6 is not set # CONFIG_WIRELESS is not set