batman-adv: tp_meter: simplify unordered ack calculation

When batadv_tp_ack_unordered() goes through the list of unacked sequence
numbers and checks for now closed gaps, it is first calculating a delta of
the sequence numbers which could be acked. Just to revert this calculation
in the next steps to the sequence number which would be ackable.

Skip the delta step and directly work with the sequence numbers.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann 2026-06-10 23:16:18 +02:00
commit 71b7987ec0
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB