aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-10 11:33:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-10 11:33:43 +0000
commita429db08219f2395b2640124022da085f39c07bb (patch)
tree8472303b2a258b6766920e91466e2f45103b6edf /target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
parent55c1859a9f9809d04b5a12f9d298cd2dc64ce236 (diff)
downloadupstream-a429db08219f2395b2640124022da085f39c07bb.tar.gz
upstream-a429db08219f2395b2640124022da085f39c07bb.tar.bz2
upstream-a429db08219f2395b2640124022da085f39c07bb.zip
ar71xx: make implicit alignment in struct pptp_addr explicit to fix ABI breakage caused by the unaligned access hacks patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37223 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch')
-rw-r--r--target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
index 4e7af8db60..0b89df204b 100644
--- a/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
+++ b/target/linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch
@@ -902,3 +902,13 @@
return true;
}
return false;
+--- a/include/uapi/linux/if_pppox.h
++++ b/include/uapi/linux/if_pppox.h
+@@ -47,6 +47,7 @@ struct pppoe_addr {
+ */
+ struct pptp_addr {
+ __be16 call_id;
++ __u16 pad;
+ struct in_addr sin_addr;
+ };
+