From: Lv Zheng Date: Fri, 13 Sep 2013 05:13:47 +0000 (+0800) Subject: ACPI / IPMI: Fix race caused by the timed out ACPI IPMI transfers X-Git-Tag: v3.13-rc1~96^2~22^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8584ec6ae9cc386de344e0d33b60f76368bb73ab;p=pandora-kernel.git 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 Reviewed-by: Huang Ying Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed