diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-09-13 05:13:47 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-30 17:46:11 (GMT) |
commit | 8584ec6ae9cc386de344e0d33b60f76368bb73ab (patch) | |
tree | 46ad6a2073010c20981b8b16e58b35e689c29603 /drivers/sbus | |
parent | 5ac557ef4951ea4b131ae45b08434546cb386ac5 (diff) | |
download | linux-fsl-qoriq-8584ec6ae9cc386de344e0d33b60f76368bb73ab.tar.xz |
ACPI / IPMI: Fix race caused by the timed out ACPI IPMI transfers
This patch fixes races caused by timed out ACPI IPMI transfers.
This patch uses timeout mechanism provided by ipmi_si to avoid the race
that the msg_done flag is set but without any protection, its content can
be invalid. Thanks for the suggestion of Corey Minyard.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions