From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 22 Nov 2011 17:40:29 +0800 References: <1320680200-32024-1-git-send-email-ordex@autistici.org> <20111114164713.GB21063@ritirata.org> In-Reply-To: <20111114164713.GB21063@ritirata.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111221740.29552.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: add tt_initialised flag to the orig_node struct 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 Tuesday, November 15, 2011 00:47:14 Antonio Quartulli wrote: > On Mon, Nov 07, 2011 at 04:36:40PM +0100, Antonio Quartulli wrote: > > (ttvn == 0) is currently used as initial condition. However this is not a > > good idea because ttvn gets the vale zero each time after reaching the > > maximum value (wrap around). For this reason a new flag is added in > > order to define whether a node has an initialised table or not. > > Moreover, after invoking > > tt_global_del_orig(), tt_initialised has to be set to false > > > > Signed-off-by: Antonio Quartulli > > Reported-by: Alexey Fisher > Tested-by: Alexey Fisher Applied in revision 8ef201e. Thanks, Marek