kernel/3.1[02]: add AR8216_PHY_LEDS option
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.10 / 614-netfilter_arpt_arp_padding_fix.patch
1 --- a/include/uapi/linux/netfilter_arp/arp_tables.h
2 +++ b/include/uapi/linux/netfilter_arp/arp_tables.h
3 @@ -68,6 +68,13 @@ struct arpt_arp {
4 __u8 flags;
5 /* Inverse flags */
6 __u16 invflags;
7 +
8 + /* For some reason Linaro GCC 4.6-2013.05 omits the two
9 + * byte padding here when building for MIPS 34kc, leading to
10 + * userspace abi mismatches.
11 + * Add a dummy field to align this struct to 4 bytes
12 + */
13 + __u16 padding;
14 };
15
16 /* Values for "flag" field in struct arpt_ip (general arp structure).