Skip to content
Snippets Groups Projects
Commit 7f2743d4 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

kernel: netfilter.mk: Explicitly set the order of autoloaded modules


In my machine, the file is created with arptable_filter before
arp_tables. This can't happen because the former depends on the
latter.

So, instead of rely on wildcards (*.ko), set by hand the files to
be loaded in the correct order.

Signed-off-by: default avatarJonh Wendell <jonh.wendell@oiwifi.com.br>

SVN-Revision: 36512
parent a98cdd98
No related branches found
No related tags found
No related merge requests found
......@@ -402,7 +402,7 @@ endef
$(eval $(call KernelPackage,ip6tables))
ARP_MODULES = arp_tables arpt_mangle arptable_filter
define KernelPackage/arptables
SUBMENU:=$(NF_MENU)
TITLE:=ARP firewalling modules
......@@ -410,7 +410,7 @@ define KernelPackage/arptables
KCONFIG:=CONFIG_IP_NF_ARPTABLES \
CONFIG_IP_NF_ARPFILTER \
CONFIG_IP_NF_ARP_MANGLE
AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.ko))))
AUTOLOAD:=$(call AutoLoad,49,$(ARP_MODULES))
endef
define KernelPackage/arptables/description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment