[package] netfilter/iptables: enable IMQ on 2.6.25

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11335 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2008-06-02 19:46:47 +00:00
parent 81b5a7f6de
commit 6aa05063a5
2 changed files with 2 additions and 4 deletions

View File

@ -89,7 +89,7 @@ define Package/iptables-mod-filter/description
endef endef
define Package/iptables-mod-imq define Package/iptables-mod-imq
$(call Package/iptables/Module, +kmod-ipt-imq @!LINUX_2_6_25) $(call Package/iptables/Module, +kmod-ipt-imq)
TITLE:=IMQ support TITLE:=IMQ support
endef endef

View File

@ -157,7 +157,6 @@ define KernelPackage/ipt-imq
SUBMENU:=$(NF_MENU) SUBMENU:=$(NF_MENU)
TITLE:=Intermediate Queueing support TITLE:=Intermediate Queueing support
KCONFIG:=CONFIG_IP_NF_TARGET_IMQ KCONFIG:=CONFIG_IP_NF_TARGET_IMQ
DEPENDS:=@!LINUX_2_6_25
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX))))) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX)))))
endef endef
@ -272,11 +271,10 @@ endef
$(eval $(call KernelPackage,ipt-extra)) $(eval $(call KernelPackage,ipt-extra))
# XXX: disabled on 2.6.25 due to broken IMQ
define KernelPackage/ip6tables define KernelPackage/ip6tables
SUBMENU:=$(NF_MENU) SUBMENU:=$(NF_MENU)
TITLE:=IPv6 modules TITLE:=IPv6 modules
DEPENDS:=+kmod-ipv6 @!LINUX_2_6_25 DEPENDS:=+kmod-ipv6
KCONFIG:=CONFIG_IP6_NF_IPTABLES KCONFIG:=CONFIG_IP6_NF_IPTABLES
FILES:=$(foreach mod,$(IPT_IPV6-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_IPV6-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPV6-m))) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPV6-m)))