diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-01-06 14:18:10 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-09 12:43:24 +0100 |
commit | 18d99165d3ebe5e365de57bcc673901d754c7142 (patch) | |
tree | 9729b26cae46a1ebf2c66cdd8de7418beb4948c3 /net/unix/sysctl_net_unix.c | |
parent | ada4d4b2a32e9f63d4dcb9f69578473408f4622c (diff) |
iommu/vt-d: fix a race window in allocating domain ID for virtual machines
Function intel_iommu_domain_init() may be concurrently called by upper
layer without serialization, so use atomic_t to protect domain id
allocation.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions