diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-02-10 17:33:53 +0300 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 14:50:03 +0300 |
commit | 44524fcdf6ca19b58c24f7622c4af1d8d8fe59f8 (patch) | |
tree | 297c76f80d68d56e3c65a23c70de645a1c93df47 /samples/trace_events | |
parent | a4c135c561106c397bae33455acfca4aa8065a30 (diff) | |
download | linux-44524fcdf6ca19b58c24f7622c4af1d8d8fe59f8.tar.xz |
batman-adv: Correct rcu refcounting for neigh_node
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.
Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions