diff options
author | Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> | 2015-06-26 03:28:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-16 20:51:49 -0700 |
commit | 9e6c072a69d87100808d16279d60e9f857291340 (patch) | |
tree | 7ad0b696eb8af8bdca1fe76328ff389c1e1f8d1b /net/lapb/lapb_in.c | |
parent | b60d3eee854b881b3f7a478c8b622cbef72d4c4e (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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions