From eb2e09c5e97d07fd1135c5c401ca217c93e09db1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 10 Jul 2013 11:33:43 +0000 Subject: 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 SVN-Revision: 37223 --- .../linux/ar71xx/patches-3.10/902-unaligned_access_hacks.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux/ar71xx/patches-3.10') 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; + }; + -- cgit v1.2.3