diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-17 07:31:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-17 07:31:00 +0000 |
commit | 2af99a1f753515a33974c8065b9ec50bd51b92d5 (patch) | |
tree | 0bc3d25b02a6c4222822b24c416957d06f816313 /target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch | |
parent | c9bdfb5f491122ce5a44b7d3dccbf7e044a1dbdb (diff) | |
download | master-187ad058-2af99a1f753515a33974c8065b9ec50bd51b92d5.tar.gz master-187ad058-2af99a1f753515a33974c8065b9ec50bd51b92d5.tar.bz2 master-187ad058-2af99a1f753515a33974c8065b9ec50bd51b92d5.zip |
ar71xx: remove the xfrm.h chunk from the unaligned access hacks, it breaks ipsec
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36646 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.8/902-unaligned_access_hacks.patch | 11 |
1 files changed, 0 insertions, 11 deletions
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 |