Re: [PATCH] acpi: scan: Fix a possible data race in acpi_scan_hotplug_enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 8, 2018 at 5:08 AM, Jia-Ju Bai <baijiaju1990@xxxxxxxxx> wrote:
> The write operation to "hotplug->enabled" is protected by
> the lock on line 1760, but the read operation to
> this data on line 1755 is not protected by the lock.
> Thus, there may exist a data race for "hotplug->enabled".

Either it does exist, or it doesn't.

If it exists, it needs to be fixed.  If it doesn't exist, nothing
needs to be done.

Which is the case?
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux