aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>2015-06-26 03:28:24 +0200
committerMoyster <oysterized@gmail.com>2016-08-26 19:59:48 +0200
commit2bdac376134b8e497facb60980001c6d167f77ae (patch)
treef8c56ae0e0b3503c988b64dcbbbbdc4d81728467 /drivers/crypto
parent633ebd9b8d846c9089ea6ccfbbaa7220b8b1a006 (diff)
xen/gntdevt: Fix race condition in gntdev_release()
commit 30b03d05e07467b8c6ec683ea96b5bffcbcd3931 upstream. While gntdev_release() is called the MMU notifier is still registered and can traverse priv->maps list even if no pages are mapped (which is the case -- gntdev_release() is called after all). But gntdev_release() will clear that list, so make sure that only one of those things happens at the same time. Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions