From da5c45f4d8864a82378b4a04c0516cb98a718cfa Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 19 Oct 2022 11:21:58 +0200 Subject: kernel: remove handling of xfrm[4|6]_mode_* modules For kernel versions before 5.2, the required IPsec modes have to be enabled explicitly (they are built-in for newer kernels). Commit 1556ed155a9a ("kernel: mode_beet mode_transport mode_tunnel xfram modules") tried to handle this, but it does not really work. Since we don't support these kernel versions anymore and the code is also broken, let's remove it. Signed-off-by: Martin Schiller [Remove old generic config options too] Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-5.10 | 3 --- target/linux/generic/config-5.15 | 3 --- 2 files changed, 6 deletions(-) (limited to 'target') diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index cef0c7d0a8..4b2837de05 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -2554,9 +2554,6 @@ CONFIG_INET=y # CONFIG_INET_TCP_DIAG is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_UDP_DIAG is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INFINIBAND is not set # CONFIG_INFTL is not set diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 index 8b2d6b5491..1e49471ae2 100644 --- a/target/linux/generic/config-5.15 +++ b/target/linux/generic/config-5.15 @@ -2655,9 +2655,6 @@ CONFIG_INET=y # CONFIG_INET_TCP_DIAG is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_UDP_DIAG is not set -# CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INFINIBAND is not set # CONFIG_INFTL is not set -- cgit v1.2.3