diff options
author | rstone <rstone@FreeBSD.org> | 2015-03-01 04:36:20 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2015-03-01 04:36:20 +0000 |
commit | 6d2b81bc2b6be4fb624d6c4c6ed85a8ec8c54409 (patch) | |
tree | 2279cce5127acad27ad30b80dd09913663ced4da /lib/libthr/thread/thr_kill.c | |
parent | 4d618165980908f03fe4c50ead4e8e37ec6aa0b2 (diff) | |
download | FreeBSD-src-6d2b81bc2b6be4fb624d6c4c6ed85a8ec8c54409.zip FreeBSD-src-6d2b81bc2b6be4fb624d6c4c6ed85a8ec8c54409.tar.gz |
MFC r272284
Fix integer truncation in affecting systat -ifstat
The "systat -ifstat" command was using a u_int to store byte counters.
With a 10Gbps or faster interface, this overflows within the default
5 second refresh period. Switch to using a uint64_t across the board,
which matches the size used for all counters as of r263102.
PR: 182448
MFC after: 1 week
Sponsored by: Sandvine Inc
Diffstat (limited to 'lib/libthr/thread/thr_kill.c')
0 files changed, 0 insertions, 0 deletions