diff options
author | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-16 13:28:24 +0000 |
---|---|---|
committer | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-16 13:28:24 +0000 |
commit | 6dfcae994b4e7524f93f67b08d186ead67f7b9a5 (patch) | |
tree | c6e2e905c8bb494e2e2a66cb748d5475a18ecd89 /target/linux/generic | |
parent | 3537e1d85660cca45b7b25bcb870ac1653aca192 (diff) |
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/generic')
-rw-r--r-- | target/linux/generic/patches-2.6.37/151-ingress_queue.patch | 18 |
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) + { |