[PATCH v2] Babel: fix seqno wrapping on seqno request

2024-12-07 Thread Fabian Bläse
The Babel seqno wraps around when reaching its maximum value (UINT16_MAX). When comparing seqnos, this has to be taken into account. Therefore, plain number comparisons do not work. In a previous attempt to fix the wrapping behavior, one particular comparison was missed. This causes the seqno of o

[PATCH] Babel: fix seqno wrapping on seqno request

2024-12-07 Thread Fabian Bläse
The Babel seqno wraps around when reaching its maximum value (UINT16_MAX). When comparing seqnos, this has to be taken into account. Therefore, plain number comparisons do not work. In a previous attempt to fix the wrapping behavior, one particular comparison was missed. This causes the seqno of o