diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 16:22:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 16:22:38 +0000 |
commit | d5d30f0d08473e3a5f30edcdd5fd2b2e32d35a10 (patch) | |
tree | 9360149d3bc9ef841c40b65a61ec3f72a15781e1 /target/linux | |
parent | 5a518b1bdad992bf023036c0b8fc41179093d664 (diff) | |
download | master-187ad058-d5d30f0d08473e3a5f30edcdd5fd2b2e32d35a10.tar.gz master-187ad058-d5d30f0d08473e3a5f30edcdd5fd2b2e32d35a10.tar.bz2 master-187ad058-d5d30f0d08473e3a5f30edcdd5fd2b2e32d35a10.zip |
ar71xx: fix alignment of struct arpt_arp (fixes #14577)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47416 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/patches-4.1/910-unaligned_access_hacks.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-4.1/910-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-4.1/910-unaligned_access_hacks.patch index d98695f251..772b4eca11 100644 --- a/target/linux/ar71xx/patches-4.1/910-unaligned_access_hacks.patch +++ b/target/linux/ar71xx/patches-4.1/910-unaligned_access_hacks.patch @@ -891,3 +891,14 @@ } static inline struct neighbour *___neigh_lookup_noref( +--- a/include/uapi/linux/netfilter_arp/arp_tables.h ++++ b/include/uapi/linux/netfilter_arp/arp_tables.h +@@ -68,7 +68,7 @@ struct arpt_arp { + __u8 flags; + /* Inverse flags */ + __u16 invflags; +-}; ++} __attribute__((aligned(4)); + + /* Values for "flag" field in struct arpt_ip (general arp structure). + * No flags defined yet. |