diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-07-25 14:00:45 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-07-25 14:00:45 +0000 |
commit | ecabac03884714728bf84d0d7081e38a8bb3e1e9 (patch) | |
tree | 1648d340fabc87f79ac6b52d747c6403fe830a19 | |
parent | a6291dd47e269e36c82be9fec6d397a0f1c548cf (diff) | |
download | upstream-ecabac03884714728bf84d0d7081e38a8bb3e1e9.tar.gz upstream-ecabac03884714728bf84d0d7081e38a8bb3e1e9.tar.bz2 upstream-ecabac03884714728bf84d0d7081e38a8bb3e1e9.zip |
Fix aodv-uu compilation on 2.4 kernels (#2116)
SVN-Revision: 8156
-rw-r--r-- | package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch | 2 |
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); |