Skip to content
Commit 09ee17eb authored by Joerg Roedel's avatar Joerg Roedel
Browse files

AMD IOMMU: fix possible race while accessing iommu->need_sync



The access to the iommu->need_sync member needs to be protected by the
iommu->lock. Otherwise this is a possible race condition. Fix it with
this patch.

Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent f91ba190
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment