]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
macvtap: rcu_dereference outside read-lock section
authorDenis Efremov <yefremov.denis@gmail.com>
Sat, 11 Aug 2012 20:26:31 +0000 (20:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Aug 2012 20:40:48 +0000 (13:40 -0700)
commit3a7f8c34fefb109903af9a0fac6d0d05f93335c5
tree486426c2c3c3add25526788faf06dd93f99ec12a
parent2359a47671fc4fb0fe5e9945f76c2cb10792c0f8
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: Denis Efremov <yefremov.denis@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c