summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-10-06 19:38:15 +0200
committerSven Eckelmann <sven@narfation.org>2026-10-30 10:11:24 +0100
commit1025b76d13288a311e8259a0eefde0854fa63c41 (patch)
tree9924fc91bd4436262dcffc62ba161cb7ffcb63e8 /scripts/const_structs.checkpatch
parentea01fff30f631e67ee5f0a2b97855d772b3a35fc (diff)
batman-adv: tpmeter: fix u32 truncation of reported bytes
When more than 4 GB are transferred by the throughput meter, batadv_tp_batctl_notify() will cut of the upper 32 bit of the u64 counter and thus under-report the actual transferred bytes. The data type of the temporary storage variable must therefore still continue to use u64. Cc: stable@vger.kernel.org Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/bug/linux-08bb3be4-6c6a-452d-b4e4-606940c6cfa5 Fixes: 33a3bb4a3345 ("batman-adv: throughput meter implementation") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions