diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-01 11:47:29 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-03 08:02:20 +0200 |
| commit | f54c85ed42a1b27a516cf2a4728f5a612b799e07 (patch) | |
| tree | 029ae1bfc591728cbb2fab718b7a01748149a42e /include/linux/debugobjects.h | |
| parent | 2b0d08f08ed3b2174f05c43089ec65f3543a025b (diff) | |
batman-adv: tp_meter: handle seqno wrap-around for fast recovery detection
The recover variable and the last_sent sequence number are initialized on
purpose as a really high value which will wrap-around after the first 2000
bytes. The fast recovery precondition must therefore not use simple integer
comparisons but use helpers which are aware of the sequence number
wrap-arounds.
Cc: stable@kernel.org
Fixes: 33a3bb4a3345 ("batman-adv: throughput meter implementation")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
