From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Mon, 9 Jan 2012 03:51:01 +0800 References: <1325881894-18603-1-git-send-email-ordex@autistici.org> In-Reply-To: <1325881894-18603-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201201090351.01864.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: set TT_CLIENT_NEW flag before invoking hash_add() 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 Saturday, January 07, 2012 04:31:33 Antonio Quartulli wrote: > In case of a new tt_local_entry, the TT_CLIENT_NEW flag has to be set > before adding such entry to the hash table. Otherwise, a concurrent a > tt_query_reply forging operation could select such entry (as it is already > in the hash table) even if it should not. Applied in revision 5c5fa22. Thanks, Marek