mirror of https://github.com/hak5/openwrt-owl.git
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: 37223owl
parent
60abecf605
commit
eb2e09c5e9
|
@ -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 New Issue