aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2017-02-01 03:26:16 +0000
committerAlex Williamson <[email protected]>2017-02-01 16:48:34 +0000
commit2da64d20a0b20046d688e44f4033efd09157e29d (patch)
tree44d2bca16b1b26dd2d06254940ba213847bea7b4 /security/selinux/hooks.c
parentLinux 4.10-rc6 (diff)
downloadkernel-2da64d20a0b20046d688e44f4033efd09157e29d.tar.gz
kernel-2da64d20a0b20046d688e44f4033efd09157e29d.zip
vfio/spapr: Fix missing mutex unlock when creating a window
Commit d9c728949ddc ("vfio/spapr: Postpone default window creation") added an additional exit to the VFIO_IOMMU_SPAPR_TCE_CREATE case and made it possible to return from tce_iommu_ioctl() without unlocking container->lock; this fixes the issue. Fixes: d9c728949ddc ("vfio/spapr: Postpone default window creation") Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions