[NETFILTER]: Fix compat_xt_counters alignment for non-x86
authorPatrick McHardy <kaber@trash.net>
Tue, 25 Apr 2006 00:16:28 +0000 (17:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 25 Apr 2006 00:27:30 +0000 (17:27 -0700)
commit55fe5866366ae42f259f27ae5962eb267d9ce172
treeff7b8f5b97a6d21b1f30ffd43f2e6955ff376c69
parent44adf28f4a27df626d50e54c8d0669df2dd1aa89
[NETFILTER]: Fix compat_xt_counters alignment for non-x86

Some (?) non-x86 architectures require 8byte alignment for u_int64_t
even when compiled for 32bit, using u_int32_t in compat_xt_counters
breaks on these architectures, use u_int64_t for everything but x86.

Reported by Andreas Schwab <schwab@suse.de>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/x_tables.h