aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-pae/ip_gre.patch
diff options
context:
space:
mode:
authorCedric Schieli <cschieli@gmail.com>2010-03-21 12:31:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-31 08:31:54 +0000
commit52880362233e075e04275cb4b0f03f536b234dca (patch)
tree596efc7d4fff041d81943dfb8a4eeb729a3356b3 /main/linux-pae/ip_gre.patch
parent30a60b2df8350bb862bc64fecdfb581b9cb5011b (diff)
downloadaports-52880362233e075e04275cb4b0f03f536b234dca.tar.gz
aports-52880362233e075e04275cb4b0f03f536b234dca.tar.bz2
aports-52880362233e075e04275cb4b0f03f536b234dca.tar.xz
main/linux-pae: new aport
Signed-off-by: Cedric Schieli <cschieli@gmail.com>
Diffstat (limited to 'main/linux-pae/ip_gre.patch')
-rw-r--r--main/linux-pae/ip_gre.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/linux-pae/ip_gre.patch b/main/linux-pae/ip_gre.patch
new file mode 100644
index 0000000000..ba5f19b300
--- /dev/null
+++ b/main/linux-pae/ip_gre.patch
@@ -0,0 +1,15 @@
+--- a/net/ipv4/ip_gre.c.orig
++++ b/net/ipv4/ip_gre.c
+@@ -1137,11 +1137,8 @@
+
+ if (saddr)
+ memcpy(&iph->saddr, saddr, 4);
+-
+- if (daddr) {
++ if (daddr)
+ memcpy(&iph->daddr, daddr, 4);
+- return t->hlen;
+- }
+ if (iph->daddr && !ipv4_is_multicast(iph->daddr))
+ return t->hlen;
+