summaryrefslogtreecommitdiffstats
path: root/package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-08-20 22:00:41 +0000
committerNicolas Thill <nico@openwrt.org>2008-08-20 22:00:41 +0000
commit89124c8a0ab1baeb926108bb8dd503c24a25b75d (patch)
tree27743e0b45f666445f1b7cdb4287364bb008fe70 /package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch
parentd9b755b3dc4f9121ab70b9d816ce813f6038ad6b (diff)
downloadmaster-31e0f0ae-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.gz
master-31e0f0ae-89124c8a0ab1baeb926108bb8dd503c24a25b75d.tar.bz2
master-31e0f0ae-89124c8a0ab1baeb926108bb8dd503c24a25b75d.zip
move more extra packages from ./trunk to ./packages
SVN-Revision: 12359
Diffstat (limited to 'package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch')
-rw-r--r--package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch b/package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch
deleted file mode 100644
index 638de87ff7..0000000000
--- a/package/aodv-uu/patches/002-linux_2.6.19_ip_route_me_harder_change.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: aodv-uu-0.9.3/lnx/kaodv-mod.c
-===================================================================
---- aodv-uu-0.9.3.orig/lnx/kaodv-mod.c 2007-06-04 13:22:19.830840536 +0200
-+++ aodv-uu-0.9.3/lnx/kaodv-mod.c 2007-06-04 13:22:20.130794936 +0200
-@@ -19,7 +19,7 @@
- * Author: Erik Nordström, <erik.nordstrom@it.uu.se>
- *
- *****************************************************************************/
--#include <linux/config.h>
-+#include <linux/autoconf.h>
- #include <linux/version.h>
-
- #ifdef KERNEL26
-@@ -258,7 +258,11 @@
- if (!(*skb))
- return NF_STOLEN;
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
-+ ip_route_me_harder(skb, RTN_UNSPEC);
-+#else
- ip_route_me_harder(skb);
-+#endif
- }
- break;
- case NF_IP_POST_ROUTING:
-Index: aodv-uu-0.9.3/lnx/kaodv-queue.c
-===================================================================
---- aodv-uu-0.9.3.orig/lnx/kaodv-queue.c 2007-06-04 13:22:19.837839472 +0200
-+++ aodv-uu-0.9.3/lnx/kaodv-queue.c 2007-06-04 13:22:20.130794936 +0200
-@@ -29,6 +29,7 @@
- #include <linux/spinlock.h>
- #include <linux/sysctl.h>
- #include <linux/proc_fs.h>
-+#include <linux/version.h>
- #include <net/sock.h>
- #include <net/route.h>
- #include <net/icmp.h>
-@@ -246,7 +247,11 @@
- if (!entry->skb)
- goto next;
- }
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
-+ ip_route_me_harder(&entry->skb, RTN_UNSPEC);
-+#else
- ip_route_me_harder(&entry->skb);
-+#endif
-
- pkts++;
-