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
owl
Felix Fietkau 2013-07-10 11:33:43 +00:00
parent 60abecf605
commit eb2e09c5e9
2 changed files with 24 additions and 4 deletions

View File

@ -902,3 +902,13 @@
return true; return true;
} }
return false; 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;
};

View File

@ -1005,3 +1005,13 @@
return 0; return 0;
} }
--- 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;
};