summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-20 17:08:01 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-20 17:08:01 +0000
commitbfc26bdfda1f8d4216871d473e9a4fefb0bcef50 (patch)
tree52715027b898a0aa9597d7f37c0a2e770c6b73f8 /target
parent8319ad97cd61d3f0465b8f99628b1147d809f3f0 (diff)
[kernel] netfilter: fix IMQ bug on 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10508 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch b/target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch
index d5f50d7e7..4ecef1b1d 100644
--- a/target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch
+++ b/target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch
@@ -327,10 +327,10 @@ diff -Naurw linux-2.6.23/drivers/net/imq.c linux-2.6.23.imq/drivers/net/imq.c
+ numdevs--;
+
+ for (i = 0, dev = imq_devs; i <= numdevs; i++, dev++) {
-+// SET_MODULE_OWNER(dev);
+ strcpy(dev->name, "imq%d");
+ dev->init = imq_dev_init;
+ dev->uninit = imq_dev_uninit;
++ dev->nd_net = &init_net;
+
+ if (register_netdev(dev) < 0)
+ goto err_register;