summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-03 22:46:15 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-01 14:22:02 +0200
commit5ffd4dd8742586d1e7b80fe04340f56762960d9c (patch)
tree046c8a7e78c26a24c5eac54a4de3622a93e69c77 /include/linux/timerqueue.h
parent4dd2055046c4295c30ed552b4c2fd280b8d36317 (diff)
batman-adv: tt: replace open-coded overflow check with helper
The commit 6043a632dd06 ("batman-adv: reject oversized global TT response buffers") introduced an open-coded check to ensure that the allocated buffer size can be stored in a u16. The check_add_overflow() helper can perform the addition and overflow check in one step, so use that instead. Acked-by: Antonio Quartulli <antonio@mandelbit.com> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions