summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.10
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
commiteb2e09c5e97d07fd1135c5c401ca217c93e09db1 (patch)
tree63f05c0a5b16e914f34a20423f8a42019880018b /target/linux/ar71xx/patches-3.10
parent60abecf605707fc81b8b7892aa7eaefe02c958e0 (diff)
downloadmaster-31e0f0ae-eb2e09c5e97d07fd1135c5c401ca217c93e09db1.tar.gz
master-31e0f0ae-eb2e09c5e97d07fd1135c5c401ca217c93e09db1.tar.bz2
master-31e0f0ae-eb2e09c5e97d07fd1135c5c401ca217c93e09db1.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> SVN-Revision: 37223
Diffstat (limited to 'target/linux/ar71xx/patches-3.10')
-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;
+ };
+