From: Benjamin LaHaise Date: Thu, 16 May 2013 19:04:27 +0000 (-0500) Subject: ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex X-Git-Tag: v3.10-rc2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6368087e851e697679af059b4247aca33a69cef3;p=pandora-kernel.git ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex When a 32 bit version of ipmitool is used on a 64 bit kernel, the ipmi_devintf code fails to correctly acquire ipmi_mutex. This results in incomplete data being retrieved in some cases, or other possible failures. Add a wrapper around compat_ipmi_ioctl() to take ipmi_mutex to fix this. Signed-off-by: Benjamin LaHaise Signed-off-by: Corey Minyard Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed