mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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:
parent
278e589070
commit
71b7987ec0
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue