aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2020-02-23 15:28:15 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2020-02-28 17:50:46 +0100
commit1556ed155a9aff8636733d27076107b3354c4c3e (patch)
tree5d3199777c7ea06070205a9b564d259dfc068ad2 /package/kernel/linux
parent500a02bc29b93907921fee727400d5f208e1fb85 (diff)
downloadupstream-1556ed155a9aff8636733d27076107b3354c4c3e.tar.gz
upstream-1556ed155a9aff8636733d27076107b3354c4c3e.tar.bz2
upstream-1556ed155a9aff8636733d27076107b3354c4c3e.zip
kernel: mode_beet mode_transport mode_tunnel xfram modules
This adds the new xfrm4_mode_beet, xfrm4_mode_transport, xfrm4_mode_tunnel and their IPv6 versions on kernel 5.4. These modules were newly added in kernel 5.2. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netsupport.mk15
1 files changed, 6 insertions, 9 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index ada35acddc..b3b32877a3 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -267,16 +267,14 @@ endef
$(eval $(call KernelPackage,ipsec))
-
-IPSEC4-m:= \
+IPSEC4-m = \
ipv4/ah4 \
ipv4/esp4 \
- ipv4/xfrm4_mode_beet \
- ipv4/xfrm4_mode_transport \
- ipv4/xfrm4_mode_tunnel \
ipv4/xfrm4_tunnel \
ipv4/ipcomp \
+IPSEC4-m += $(ifeq ($$(strip $$(call CompareKernelPatchVer,$$(KERNEL_PATCHVER),le,5.2))),ipv4/xfrm4_mode_beet ipv4/xfrm4_mode_transport ipv4/xfrm4_mode_tunnel)
+
define KernelPackage/ipsec4
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPsec related modules (IPv4)
@@ -309,15 +307,14 @@ endef
$(eval $(call KernelPackage,ipsec4))
-IPSEC6-m:= \
+IPSEC6-m = \
ipv6/ah6 \
ipv6/esp6 \
- ipv6/xfrm6_mode_beet \
- ipv6/xfrm6_mode_transport \
- ipv6/xfrm6_mode_tunnel \
ipv6/xfrm6_tunnel \
ipv6/ipcomp6 \
+IPSEC6-m += $(ifeq ($$(strip $$(call CompareKernelPatchVer,$$(KERNEL_PATCHVER),le,5.2))),ipv6/xfrm6_mode_beet ipv6/xfrm6_mode_transport ipv6/xfrm6_mode_tunnel)
+
define KernelPackage/ipsec6
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPsec related modules (IPv6)