diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-01-06 21:31:33 +0100 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-17 02:50:21 +0800 |
commit | c40ed2bfa6cc30174d5c547b37bcd6528c830ef4 (patch) | |
tree | 311997f241af6d9550321958fc57f6838727a670 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions