Changeset 36512


Ignore:
Timestamp:
2013-05-02T13:25:18+02:00 (5 years ago)
Author:
jow
Message:

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: Jonh Wendell <jonh.wendell@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/netfilter.mk

    r35691 r36512  
    403403$(eval $(call KernelPackage,ip6tables)) 
    404404 
    405  
     405ARP_MODULES = arp_tables arpt_mangle arptable_filter 
    406406define KernelPackage/arptables 
    407407  SUBMENU:=$(NF_MENU) 
     
    411411    CONFIG_IP_NF_ARPFILTER \ 
    412412    CONFIG_IP_NF_ARP_MANGLE 
    413   AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.ko)))) 
     413  AUTOLOAD:=$(call AutoLoad,49,$(ARP_MODULES)) 
    414414endef 
    415415 
Note: See TracChangeset for help on using the changeset viewer.