aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-16 13:28:24 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-16 13:28:24 +0000
commit4b0c4432abbe6cce63d7030a2f5d4ed53267b4b2 (patch)
treec6e2e905c8bb494e2e2a66cb748d5475a18ecd89 /target/linux
parent5a691fb28afee8522a2f6cadea14494dc121a7ae (diff)
downloadupstream-4b0c4432abbe6cce63d7030a2f5d4ed53267b4b2.tar.gz
upstream-4b0c4432abbe6cce63d7030a2f5d4ed53267b4b2.tar.bz2
upstream-4b0c4432abbe6cce63d7030a2f5d4ed53267b4b2.zip
linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork.ozlabs.org/patch/71237/ (thank you KanjiMonster)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24013 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-2.6.37/151-ingress_queue.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/151-ingress_queue.patch b/target/linux/generic/patches-2.6.37/151-ingress_queue.patch
new file mode 100644
index 0000000000..5e702c3f4f
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/151-ingress_queue.patch
@@ -0,0 +1,18 @@
+--- a/include/linux/rtnetlink.h
++++ b/include/linux/rtnetlink.h
+@@ -6,7 +6,6 @@
+ #include <linux/if_link.h>
+ #include <linux/if_addr.h>
+ #include <linux/neighbour.h>
+-#include <linux/netdevice.h>
+
+ /* rtnetlink families. Values up to 127 are reserved for real address
+ * families, values above 128 may be used arbitrarily.
+@@ -606,6 +605,7 @@ struct tcamsg {
+ #ifdef __KERNEL__
+
+ #include <linux/mutex.h>
++#include <linux/netdevice.h>
+
+ static __inline__ int rtattr_strcmp(const struct rtattr *rta, const char *str)
+ {