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
This commit is contained in:
parent
60abecf605
commit
eb2e09c5e9
2 changed files with 24 additions and 4 deletions
|
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue