[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>

authored by Patrick McHardy and committed by David S. Miller 55fe5866 44adf28f

+4
+4
include/linux/netfilter/x_tables.h
··· 361 362 struct compat_xt_counters 363 { 364 u_int32_t cnt[4]; 365 }; 366 367 struct compat_xt_counters_info
··· 361 362 struct compat_xt_counters 363 { 364 + #if defined(CONFIG_X86_64) || defined(CONFIG_IA64) 365 u_int32_t cnt[4]; 366 + #else 367 + u_int64_t cnt[2]; 368 + #endif 369 }; 370 371 struct compat_xt_counters_info