commit | c40ed2bfa6cc30174d5c547b37bcd6528c830ef4 | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Fri Jan 06 21:31:33 2012 +0100 |
committer | Marek Lindner <lindner_marek@yahoo.de> | Fri Feb 17 02:50:21 2012 +0800 |
tree | 311997f241af6d9550321958fc57f6838727a670 | |
parent | 567db7b0b7c0a94cc62846f8ebb429bdda2884bc [diff] |
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 <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>