summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-01-06 21:31:33 +0100
committerMarek Lindner <lindner_marek@yahoo.de>2012-02-17 02:50:21 +0800
commitc40ed2bfa6cc30174d5c547b37bcd6528c830ef4 (patch)
tree311997f241af6d9550321958fc57f6838727a670 /include/linux/debugobjects.h
parent567db7b0b7c0a94cc62846f8ebb429bdda2884bc (diff)
downloadolio-linux-3.10-c40ed2bfa6cc30174d5c547b37bcd6528c830ef4.tar.xz
olio-linux-3.10-c40ed2bfa6cc30174d5c547b37bcd6528c830ef4.zip
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions