mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
88ba136d66
ebt_among extension of ebtables uses __alignof__(_xt_align) while the corresponding kernel module uses __alignof__(ebt_replace) to determine the alignment in EBT_ALIGN(). These are the results of these values on different platforms: x86 x86_64 ppc __alignof__(_xt_align) 4 8 8 __alignof__(ebt_replace) 4 8 4 ebtables fails to add rules which use the among extension. I'm using kernel 2.6.33 and ebtables 2.0.10-4 According to Bart De Schuymer, userspace alignment was changed to _xt_align to fix an alignment issue on a userspace32-kernel64 system (he thinks it was for an ARM device). So userspace must be right. The kernel alignment macro needs to change so it also uses _xt_align instead of ebt_replace. The userspace changes date back from June 29, 2009. Signed-off-by: Joerg Willmann <joe@clnt.de> Signed-off by: Bart De Schuymer <bdschuym@pandora.be> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |
||
---|---|---|
.. | ||
ebt_802_3.h | ||
ebt_among.h | ||
ebt_arp.h | ||
ebt_arpreply.h | ||
ebt_ip.h | ||
ebt_ip6.h | ||
ebt_limit.h | ||
ebt_log.h | ||
ebt_mark_m.h | ||
ebt_mark_t.h | ||
ebt_nat.h | ||
ebt_nflog.h | ||
ebt_pkttype.h | ||
ebt_redirect.h | ||
ebt_stp.h | ||
ebt_ulog.h | ||
ebt_vlan.h | ||
ebtables.h | ||
Kbuild |