X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-3.8%2F902-unaligned_access_hacks.patch;h=9eb1324d264a303dcabb9b4d0aa4025eb23c2adf;hb=a0976e32e68a8208bff2fd5105e6f420ff24aa67;hp=19c1c72f75f9d761eaea2bbbbf8ccf036d099b0b;hpb=1659ebda0806bbade3507aad86fb40f09d795de5;p=openwrt-working-2016%2F.git diff --git a/target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch index 19c1c72f75..9eb1324d26 100644 --- a/target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch +++ b/target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch @@ -915,17 +915,6 @@ #define IP_TOS 1 #define IP_TTL 2 ---- a/include/uapi/linux/xfrm.h -+++ b/include/uapi/linux/xfrm.h -@@ -13,7 +13,7 @@ - typedef union { - __be32 a4; - __be32 a6[4]; --} xfrm_address_t; -+} __attribute__((packed, aligned(2))) xfrm_address_t; - - /* Ident of a specific xfrm_state. It is used on input to lookup - * the state by (spi,daddr,ah/esp) or to store information about --- a/net/core/secure_seq.c +++ b/net/core/secure_seq.c @@ -43,10 +43,11 @@ __u32 secure_tcpv6_sequence_number(const