mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
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
This commit is contained in:
parent
3537e1d856
commit
6dfcae994b
18
target/linux/generic/patches-2.6.37/151-ingress_queue.patch
Normal file
18
target/linux/generic/patches-2.6.37/151-ingress_queue.patch
Normal file
@ -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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user