Andi Kleen wrote:
> "David S. Miller" <[EMAIL PROTECTED]> writes:
>>
>>Won't work in x86 --> x86_64 compat environments.
> 
> Thanks for catching it.
> 
> The aligned u64 trick probably will
> 
> #define aligned_u64 unsigned long long __attribute__((aligned(8)))
> 
> It just forces i386 to be aligned too.
> 
> Then use aligned_u64 instead of u64/__u64/u_int64_t in all user visible 
> places. Similar for signed types.

Unfortunately one of the iptables structures which is needed to get the
ruleset in the kernel (ipt_replace) is differently sized when compiled
for 32/64 bit. IIRC it doesn't work at all currently.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to