markj e613eb38bc Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *).
In the kernel, structs such as tcpstat are manipulated as an array of
counter_u64_t (uint64_t *), but made visible to userland as an array of
uint64_t. kread_counters() was previously copying the counter array into
user space and sequentially overwriting each counter with its value. This
mostly affects IPsec counters, as other counters are exported via sysctl.

PR:		201700
Tested by:	Jason Unovitch
MFC after:	1 week
2015-07-21 23:57:38 +00:00
..
2015-04-06 09:42:23 +00:00
2015-02-21 23:47:20 +00:00
2015-05-06 16:43:44 +00:00
2015-04-06 09:42:23 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-06-13 19:20:56 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00
2015-02-21 23:47:20 +00:00