git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e4aa9
)
batman-adv: Make bat_priv->primary_if an rcu protected pointer
author
Marek Lindner
<lindner_marek@yahoo.de>
Wed, 20 Apr 2011 13:40:58 +0000
(15:40 +0200)
committer
Sven Eckelmann
<sven@narfation.org>
Sun, 1 May 2011 20:49:03 +0000
(22:49 +0200)
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the bat_priv->primary_if need to be used, as well as spin/rcu locking.
Otherwise we might end up using a primary_if pointer pointing to already
freed memory.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
No differences found