ar71xx: fix alignment of struct arpt_arp (fixes #14577)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47416
This commit is contained in:
parent
9fde3614b0
commit
9dd5c79c47
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user