mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork.ozlabs.org/patch/71237/ (thank you KanjiMonster)
SVN-Revision: 24013
This commit is contained in:
parent
7ccc3d9695
commit
5d3e4e0bd3
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