summaryrefslogtreecommitdiff
path: root/arch/sparc/oprofile
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-04-20 17:40:58 +0400
committerSven Eckelmann <sven@narfation.org>2011-05-02 00:49:03 +0400
commit32ae9b221e788413ce68feaae2ca39e406211a0a (patch)
treed827f989976a28fea5cdcb349c308baa98182c35 /arch/sparc/oprofile
parent71e4aa9c465fd66c110667ab5d620fb6a4ef2157 (diff)
downloadlinux-32ae9b221e788413ce68feaae2ca39e406211a0a.tar.xz
batman-adv: Make bat_priv->primary_if an rcu protected pointer
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>
Diffstat (limited to 'arch/sparc/oprofile')
0 files changed, 0 insertions, 0 deletions