linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork...
[openwrt/openwrt.git] / target / linux / generic / patches-2.6.37 / 151-ingress_queue.patch
1 --- a/include/linux/rtnetlink.h
2 +++ b/include/linux/rtnetlink.h
3 @@ -6,7 +6,6 @@
4 #include <linux/if_link.h>
5 #include <linux/if_addr.h>
6 #include <linux/neighbour.h>
7 -#include <linux/netdevice.h>
8
9 /* rtnetlink families. Values up to 127 are reserved for real address
10 * families, values above 128 may be used arbitrarily.
11 @@ -606,6 +605,7 @@ struct tcamsg {
12 #ifdef __KERNEL__
13
14 #include <linux/mutex.h>
15 +#include <linux/netdevice.h>
16
17 static __inline__ int rtattr_strcmp(const struct rtattr *rta, const char *str)
18 {