aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-25 14:00:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-25 14:00:45 +0000
commit9f6c0a48fc21f8fa2e4e6baa1db8e2c509ab82bd (patch)
treedbdbddfeaa4a1ce35790bcf05bf21c2616c3d638 /package
parentb4c52c8ae96bcdecf5726c312b09937450012fdd (diff)
downloadupstream-9f6c0a48fc21f8fa2e4e6baa1db8e2c509ab82bd.tar.gz
upstream-9f6c0a48fc21f8fa2e4e6baa1db8e2c509ab82bd.tar.bz2
upstream-9f6c0a48fc21f8fa2e4e6baa1db8e2c509ab82bd.zip
Fix aodv-uu compilation on 2.4 kernels (#2116)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8156 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch2
1 files changed, 1 insertions, 1 deletions
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 6a57acc0bf..0831c5f758 100644
--- 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)
+
-+#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);