summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorStephen Hemminger2017-03-05 02:13:57 +0100
committerGreg Kroah-Hartman2017-03-16 08:42:00 +0100
commit8200f2085abe7f29a016381f3122000cc7b2a760 (patch)
tree63b48dc913ec3f3726ec3eb79cafc56ecdcb2822 /drivers/hv/channel.c
parentmei: don't wait for os version message reply (diff)
downloadkernel-qcow2-linux-8200f2085abe7f29a016381f3122000cc7b2a760.tar.gz
kernel-qcow2-linux-8200f2085abe7f29a016381f3122000cc7b2a760.tar.xz
kernel-qcow2-linux-8200f2085abe7f29a016381f3122000cc7b2a760.zip
vmbus: use rcu for per-cpu channel list
The per-cpu channel list is now referred to in the interrupt routine. This is mostly safe since the host will not normally generate an interrupt when channel is being deleted but if it did then there would be a use after free problem. To solve, this use RCU protection on ther per-cpu list. Fixes: 631e63a9f346 ("vmbus: change to per channel tasklet") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
0 files changed, 0 insertions, 0 deletions