On Monday 01 December 2014 12:38:54 Martin Hundebøll wrote:
On 2014-12-01 10:37, Sven Eckelmann wrote:
The fragmentation code was replaced in 9b3eab61754d74a93c9840c296013fe3b4a1b606 ("batman-adv: Receive fragmented packets and merge") by an implementation which handles the queueing+merging of fragments based on their size and the total_size of the non-fragmented packet. This total_size is announced by each fragment. The new implementation doesn't check if the the total_size information of the packets inside one chain is consistent.
This is consistency check is recommended to allow using any of the packets in the queue to decide whether all fragments of a packet are received or not.
Signed-off-by: Sven Eckelmann sven@narfation.org
As with the first version: Acked-by: Martin Hundebøll martin@hundeboll.net
Applied in revision 73c9ecc.
Thanks, Marek