commit | 8584ec6ae9cc386de344e0d33b60f76368bb73ab | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Fri Sep 13 13:13:47 2013 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Sep 30 19:46:11 2013 +0200 |
tree | 46ad6a2073010c20981b8b16e58b35e689c29603 | |
parent | 5ac557ef4951ea4b131ae45b08434546cb386ac5 [diff] |
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>