aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-02-20 17:08:01 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-02-20 17:08:01 +0000
commitb8e8335de0522517b930b8338b44138c0bfc885a (patch)
tree52715027b898a0aa9597d7f37c0a2e770c6b73f8 /target/linux/generic-2.6
parentc224a0b40b0cc54c32c427b7c39e09038d43c96e (diff)
downloadupstream-b8e8335de0522517b930b8338b44138c0bfc885a.tar.gz
upstream-b8e8335de0522517b930b8338b44138c0bfc885a.tar.bz2
upstream-b8e8335de0522517b930b8338b44138c0bfc885a.zip
[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/linux/generic-2.6')
-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 d5f50d7e74..4ecef1b1db 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;