From: Antonio Quartulli Date: Fri, 6 Jan 2012 20:31:33 +0000 (+0100) Subject: batman-adv: set TT_CLIENT_NEW flag before invoking hash_add() X-Git-Tag: v3.4-rc1~177^2~173^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c40ed2bfa6cc30174d5c547b37bcd6528c830ef4;p=pandora-kernel.git batman-adv: set TT_CLIENT_NEW flag before invoking hash_add() 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, it opens a race condition in which the entry can be found but the flag has not been set. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed