diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-02-20 17:08:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-02-20 17:08:01 +0000 |
commit | bd91c79caa0a941aeead832c3d2e851761eebc73 (patch) | |
tree | 35b4167f1bc68455cc57100b88ea0445e8708240 /target/linux | |
parent | c68dfd4de49ff8e98ecb520a696336d6b604aafe (diff) | |
download | upstream-bd91c79caa0a941aeead832c3d2e851761eebc73.tar.gz upstream-bd91c79caa0a941aeead832c3d2e851761eebc73.tar.bz2 upstream-bd91c79caa0a941aeead832c3d2e851761eebc73.zip |
netfilter: fix IMQ bug on 2.6.24
SVN-Revision: 10508
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.24/150-netfilter_imq.patch | 2 |
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; |