netsupport: improve xfrm module support
authorAndré Valentin <avalentin@marcant.net>
Fri, 14 Jun 2019 11:09:46 +0000 (13:09 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 16 Jun 2019 15:32:27 +0000 (17:32 +0200)
-switch to module autoprobe
-exclude 4.9 kernel

Signed-off-by: André Valentin <avalentin@marcant.net>
package/kernel/linux/modules/netsupport.mk

index 20616d9af6e029830c41089fe86d8708797bb173..9732ee0d73ebc9d1b778fd8e088a9a41e66c0ad0 100644 (file)
@@ -386,10 +386,10 @@ $(eval $(call KernelPackage,ip6-vti))
 define KernelPackage/xfrm-interface
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=IPsec XFRM Interface
-  DEPENDS:=+kmod-ipsec4 +kmod-ipsec6 @!LINUX_4_14
+  DEPENDS:=+kmod-ipsec4 +kmod-ipsec6 @!LINUX_4_14 @!LINUX_4_9
   KCONFIG:=CONFIG_XFRM_INTERFACE
   FILES:=$(LINUX_DIR)/net/xfrm/xfrm_interface.ko
-  AUTOLOAD:=$(call AutoLoad,33,xfrm_interface)
+  AUTOLOAD:=$(call AutoProbe,xfrm_interface)
 endef
 
 define KernelPackage/xfrm-interface/description