aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
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
commit5d3e4e0bd33c61d44e8e9f14f21adc1ac4967d92 (patch)
tree796f68044872484dc2459016c234fd2b606980db /target/linux/generic
parent7ccc3d96958e453d3d2ae6c0788c9734605e48ac (diff)
downloadupstream-5d3e4e0bd33c61d44e8e9f14f21adc1ac4967d92.tar.gz
upstream-5d3e4e0bd33c61d44e8e9f14f21adc1ac4967d92.tar.bz2
upstream-5d3e4e0bd33c61d44e8e9f14f21adc1ac4967d92.zip
linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork.ozlabs.org/patch/71237/ (thank you KanjiMonster)
SVN-Revision: 24013
Diffstat (limited to 'target/linux/generic')
-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)
+ {