linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork...
authorAlexandros C. Couloumbis <alex@ozo.com>
Tue, 16 Nov 2010 13:28:24 +0000 (13:28 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Tue, 16 Nov 2010 13:28:24 +0000 (13:28 +0000)
SVN-Revision: 24013

target/linux/generic/patches-2.6.37/151-ingress_queue.patch [new file with mode: 0644]

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 (file)
index 0000000..5e702c3
--- /dev/null
@@ -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)
+ {