projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[x86] grub: Natively build grub only on x86 linux hosts, cross compile everywhere...
[openwrt.git]
/
package
/
aodv-uu
/
patches
/
005-linux_2.6.22_skbuff.patch
diff --git
a/package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch
b/package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch
index
6a57acc
..
0831c5f
100644
(file)
--- a/
package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch
+++ b/
package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch
@@
-9,7
+9,7
@@
Index: aodv-uu-0.9.3/lnx/kaodv-compat.h
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+
-+#define ip_hdr(_skb)
_skb
->nh.iph
++#define ip_hdr(_skb)
(_skb)
->nh.iph
+#define skb_reset_network_header(_skb) do { \
+ _skb->nh.iph = (struct iphdr *)_skb->data; \
+ } while (0);
+#define skb_reset_network_header(_skb) do { \
+ _skb->nh.iph = (struct iphdr *)_skb->data; \
+ } while (0);
This page took
0.024521 seconds
and
4
git commands to generate.