mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ar71xx: make 902-unaligned_access_hacks.patch apply again
r46161 updated headers also touched by it, so it needed to be refreshed as well. Closes #20033. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46165
This commit is contained in:
parent
27b9bf4493
commit
7e2450f03c
@ -745,15 +745,15 @@
|
||||
u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
|
||||
--- a/include/uapi/linux/in.h
|
||||
+++ b/include/uapi/linux/in.h
|
||||
@@ -78,7 +78,7 @@ enum {
|
||||
@@ -81,7 +81,7 @@ enum {
|
||||
/* Internet address. */
|
||||
struct in_addr {
|
||||
__be32 s_addr;
|
||||
-};
|
||||
+} __attribute__((packed, aligned(2)));
|
||||
#endif
|
||||
|
||||
#define IP_TOS 1
|
||||
#define IP_TTL 2
|
||||
--- a/net/core/secure_seq.c
|
||||
+++ b/net/core/secure_seq.c
|
||||
@@ -46,11 +46,12 @@ __u32 secure_tcpv6_sequence_number(const
|
||||
|
Loading…
Reference in New Issue
Block a user