From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Thu, 10 Feb 2011 15:32:34 +0100 References: <1297208102-4931-1-git-send-email-sven@narfation.org> In-Reply-To: <1297208102-4931-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201102101532.34780.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Use successive sequence numbers for fragments Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Wednesday 09 February 2011 00:35:02 Sven Eckelmann wrote: > The access to the fragment sequence number pool has either to be protected > by correct locking or the access to the pool has to reserve two sequence > numbers in a single access. The latter one can easily be done by > increasing the value of the last used sequence number by 2 in a single > access. The generated window of two currently unused sequence numbers can > now be scattered across the two fragments. Applied in revision 1940. Thanks, Marek