diff options
author | Roland Barenbrug <roland@treslong.com> | 2022-06-29 13:09:25 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-08-05 13:49:30 +0200 |
commit | 456b9029d764e69f390ee26bca24883b12eb83c2 (patch) | |
tree | e025bc87f4c37ae913cd92aa17a0919eccb7a4bd /target/linux/x86 | |
parent | beeb49740bb4f68aadf92095984a2d1f9a488956 (diff) | |
download | upstream-456b9029d764e69f390ee26bca24883b12eb83c2.tar.gz upstream-456b9029d764e69f390ee26bca24883b12eb83c2.tar.bz2 upstream-456b9029d764e69f390ee26bca24883b12eb83c2.zip |
ltq-vdsl-app: Fix counter overflow resulting in negative values
The re-transmit counters can overflow the 32 bit representation resulting
in negative values being displayed. Background being that the numbers are
treated at some point as signed INT rather than unsigned INT.
Change the counters from 32 bit to 64 bit, should provide sufficient room
to avoid any overflow. Not the nicest solution but it works
Fixes: #10077
Signed-off-by: Roland Barenbrug <roland@treslong.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'target/linux/x86')
0 files changed, 0 insertions, 0 deletions