Re: kmalloc_node returns unaligned memory

2006-03-13 Thread Jes Sorensen
> "Olaf" == Olaf Hering <[EMAIL PROTECTED]> writes: Olaf> kmalloc_node returns unaligned pointers on powerpc, when Olaf> CONFIG_DEBUG_SLAB is enabled. This makes iptables very Olaf> unhappy. It checks the alignment in Olaf> net/ipv6/netfilter/ip6_tables.c:check_entry_size_and_hooks(). Olaf> __

kmalloc_node returns unaligned memory

2006-03-13 Thread Olaf Hering
kmalloc_node returns unaligned pointers on powerpc, when CONFIG_DEBUG_SLAB is enabled. This makes iptables very unhappy. It checks the alignment in net/ipv6/netfilter/ip6_tables.c:check_entry_size_and_hooks(). __alignof__(struct ip6t_entry) returns 8. But returned pointers from xt_alloc_table_inf