mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
package/kernel: add missing modules autoloading for kmod-ipsec, kmod-ipsec4 & kmod-ipsec6 (partially closes: #7164)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20893 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ea9bbe955d
commit
4aebd87ddd
@ -193,6 +193,11 @@ endef
|
|||||||
$(eval $(call KernelPackage,ipip))
|
$(eval $(call KernelPackage,ipip))
|
||||||
|
|
||||||
|
|
||||||
|
IPSEC-m:= \
|
||||||
|
key/af_key \
|
||||||
|
xfrm/xfrm_ipcomp \
|
||||||
|
xfrm/xfrm_user \
|
||||||
|
|
||||||
define KernelPackage/ipsec
|
define KernelPackage/ipsec
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPsec related modules (IPv4 and IPv6)
|
TITLE:=IPsec related modules (IPv4 and IPv6)
|
||||||
@ -201,22 +206,30 @@ define KernelPackage/ipsec
|
|||||||
CONFIG_NET_KEY \
|
CONFIG_NET_KEY \
|
||||||
CONFIG_XFRM_USER \
|
CONFIG_XFRM_USER \
|
||||||
CONFIG_XFRM_IPCOMP
|
CONFIG_XFRM_IPCOMP
|
||||||
FILES:= \
|
FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
||||||
$(LINUX_DIR)/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
|
AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
|
||||||
$(LINUX_DIR)/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX) \
|
|
||||||
$(LINUX_DIR)/net/xfrm/xfrm_ipcomp.$(LINUX_KMOD_SUFFIX)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ipsec/description
|
define KernelPackage/ipsec/description
|
||||||
Kernel modules for IPsec support in both IPv4 and IPv6.
|
Kernel modules for IPsec support in both IPv4 and IPv6.
|
||||||
Includes:
|
Includes:
|
||||||
- af_key
|
- af_key
|
||||||
|
- xfrm_ipcomp
|
||||||
- xfrm_user
|
- xfrm_user
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,ipsec))
|
$(eval $(call KernelPackage,ipsec))
|
||||||
|
|
||||||
|
|
||||||
|
IPSEC4-m:= \
|
||||||
|
ipv4/ah4 \
|
||||||
|
ipv4/esp4 \
|
||||||
|
ipv4/xfrm4_mode_beet \
|
||||||
|
ipv4/xfrm4_mode_transport \
|
||||||
|
ipv4/xfrm4_mode_tunnel \
|
||||||
|
ipv4/xfrm4_tunnel \
|
||||||
|
ipv4/ipcomp \
|
||||||
|
|
||||||
define KernelPackage/ipsec4
|
define KernelPackage/ipsec4
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPsec related modules (IPv4)
|
TITLE:=IPsec related modules (IPv4)
|
||||||
@ -229,9 +242,8 @@ define KernelPackage/ipsec4
|
|||||||
CONFIG_INET_XFRM_MODE_TRANSPORT \
|
CONFIG_INET_XFRM_MODE_TRANSPORT \
|
||||||
CONFIG_INET_XFRM_MODE_TUNNEL \
|
CONFIG_INET_XFRM_MODE_TUNNEL \
|
||||||
CONFIG_INET_XFRM_TUNNEL
|
CONFIG_INET_XFRM_TUNNEL
|
||||||
FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_mode_beet xfrm4_mode_transport xfrm4_mode_tunnel xfrm4_tunnel , \
|
FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
||||||
$(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
|
AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
|
||||||
)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ipsec4/description
|
define KernelPackage/ipsec4/description
|
||||||
@ -249,6 +261,15 @@ endef
|
|||||||
$(eval $(call KernelPackage,ipsec4))
|
$(eval $(call KernelPackage,ipsec4))
|
||||||
|
|
||||||
|
|
||||||
|
IPSEC6-m:= \
|
||||||
|
ipv6/ah6 \
|
||||||
|
ipv6/esp6 \
|
||||||
|
ipv6/xfrm6_mode_beet \
|
||||||
|
ipv6/xfrm6_mode_transport \
|
||||||
|
ipv6/xfrm6_mode_tunnel \
|
||||||
|
ipv6/xfrm6_tunnel \
|
||||||
|
ipv6/ipcomp6 \
|
||||||
|
|
||||||
define KernelPackage/ipsec6
|
define KernelPackage/ipsec6
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPsec related modules (IPv6)
|
TITLE:=IPsec related modules (IPv6)
|
||||||
@ -261,9 +282,8 @@ define KernelPackage/ipsec6
|
|||||||
CONFIG_INET6_XFRM_MODE_TRANSPORT \
|
CONFIG_INET6_XFRM_MODE_TRANSPORT \
|
||||||
CONFIG_INET6_XFRM_MODE_TUNNEL \
|
CONFIG_INET6_XFRM_MODE_TUNNEL \
|
||||||
CONFIG_INET6_XFRM_TUNNEL
|
CONFIG_INET6_XFRM_TUNNEL
|
||||||
FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_mode_beet xfrm6_mode_transport xfrm6_mode_tunnel xfrm6_tunnel, \
|
FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
||||||
$(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
|
AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
|
||||||
)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ipsec6/description
|
define KernelPackage/ipsec6/description
|
||||||
@ -289,9 +309,7 @@ define KernelPackage/iptunnel4
|
|||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_NET_IPIP \
|
CONFIG_NET_IPIP \
|
||||||
CONFIG_INET_TUNNEL
|
CONFIG_INET_TUNNEL
|
||||||
FILES:= $(foreach mod,tunnel4, \
|
FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
|
||||||
$(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
|
|
||||||
)
|
|
||||||
AUTOLOAD:=$(call AutoLoad,31,tunnel4)
|
AUTOLOAD:=$(call AutoLoad,31,tunnel4)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -308,9 +326,7 @@ define KernelPackage/iptunnel6
|
|||||||
DEPENDS:= @LINUX_2_6 +kmod-ipv6
|
DEPENDS:= @LINUX_2_6 +kmod-ipv6
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_INET6_TUNNEL
|
CONFIG_INET6_TUNNEL
|
||||||
FILES:= $(foreach mod,tunnel6, \
|
FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.$(LINUX_KMOD_SUFFIX)
|
||||||
$(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
|
|
||||||
)
|
|
||||||
AUTOLOAD:=$(call AutoLoad,31,tunnel6)
|
AUTOLOAD:=$(call AutoLoad,31,tunnel6)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user