Skip to content
Commit 3a7f8c34 authored by Denis Efremov's avatar Denis Efremov Committed by David S. Miller
Browse files

macvtap: rcu_dereference outside read-lock section



rcu_dereference occurs in update section. Replacement by
rcu_dereference_protected in order to prevent lockdep
complaint.

Found by Linux Driver Verification project (linuxtesting.org)

Signed-off-by: default avatarDenis Efremov <yefremov.denis@gmail.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2359a476
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment