X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/58621c1208ab0b2c3bc7b718af0f53e24fa3e675..ae1f46d43dfb8e013d29aff091b7261a8a420367:/package/aodv-uu/patches/005-linux_2.6.22_skbuff.patch?ds=sidebyside 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 6a57acc0b..0831c5f75 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 +#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);