From 57ec21ef3d524832127a64aeece5a16036a7bcf3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 7 Apr 2019 19:00:45 +0200 Subject: [PATCH] kernel: Activate CONFIG_SYN_COOKIES for all targets Some targets deactivated CONFIG_SYN_COOKIES, for unknown reasons, use the default setting from the generic configuration which activates CONFIG_SYN_COOKIES. This should prevent SYN flooding. Signed-off-by: Hauke Mehrtens --- target/linux/at91/config-4.9 | 1 - target/linux/gemini/config-4.14 | 1 - target/linux/gemini/config-4.19 | 1 - target/linux/layerscape/armv7/config-4.14 | 1 - target/linux/layerscape/armv8_32b/config-4.14 | 1 - target/linux/layerscape/armv8_64b/config-4.14 | 1 - target/linux/zynq/config-4.14 | 1 - 7 files changed, 7 deletions(-) diff --git a/target/linux/at91/config-4.9 b/target/linux/at91/config-4.9 index 308b346161a..26c499294bd 100644 --- a/target/linux/at91/config-4.9 +++ b/target/linux/at91/config-4.9 @@ -482,7 +482,6 @@ CONFIG_SUSPEND_FREEZER=y CONFIG_SWIOTLB=y CONFIG_SWPHY=y # CONFIG_SWP_EMULATE is not set -# CONFIG_SYN_COOKIES is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y # CONFIG_TCP_CONG_ADVANCED is not set diff --git a/target/linux/gemini/config-4.14 b/target/linux/gemini/config-4.14 index ef5900771e4..9a7e9240e50 100644 --- a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@ -398,7 +398,6 @@ CONFIG_SRCU=y CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_TASKS_RCU=y diff --git a/target/linux/gemini/config-4.19 b/target/linux/gemini/config-4.19 index 014175ea13e..d9b9cd7316d 100644 --- a/target/linux/gemini/config-4.19 +++ b/target/linux/gemini/config-4.19 @@ -452,7 +452,6 @@ CONFIG_SRCU=y # CONFIG_STRIP_ASM_SYMS is not set CONFIG_SWPHY=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_TASKS_RCU=y diff --git a/target/linux/layerscape/armv7/config-4.14 b/target/linux/layerscape/armv7/config-4.14 index 99df681b542..b2573eb3212 100755 --- a/target/linux/layerscape/armv7/config-4.14 +++ b/target/linux/layerscape/armv7/config-4.14 @@ -706,7 +706,6 @@ CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SWP_EMULATE=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y diff --git a/target/linux/layerscape/armv8_32b/config-4.14 b/target/linux/layerscape/armv8_32b/config-4.14 index cbbbeaabe93..a7b82fb5b80 100644 --- a/target/linux/layerscape/armv8_32b/config-4.14 +++ b/target/linux/layerscape/armv8_32b/config-4.14 @@ -858,7 +858,6 @@ CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SWP_EMULATE=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y diff --git a/target/linux/layerscape/armv8_64b/config-4.14 b/target/linux/layerscape/armv8_64b/config-4.14 index e9da223528b..585cad6cc0e 100644 --- a/target/linux/layerscape/armv8_64b/config-4.14 +++ b/target/linux/layerscape/armv8_64b/config-4.14 @@ -848,7 +848,6 @@ CONFIG_SWIOTLB=y CONFIG_SWIOTLB_XEN=y CONFIG_SWPHY=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_HYPERVISOR=y diff --git a/target/linux/zynq/config-4.14 b/target/linux/zynq/config-4.14 index 1e39e1061e1..fc33ca1b511 100644 --- a/target/linux/zynq/config-4.14 +++ b/target/linux/zynq/config-4.14 @@ -574,7 +574,6 @@ CONFIG_SWIOTLB=y CONFIG_SWPHY=y CONFIG_SWP_EMULATE=y CONFIG_SYNC_FILE=y -# CONFIG_SYN_COOKIES is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_SYSFS_SYSCALL=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y