diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2013-05-16 23:04:27 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-05-30 17:35:01 +0400 |
commit | a40e87cb5098aec01b309ac99cca73f54efb3958 (patch) | |
tree | 66c3fd433264b7d32718e63bcbc4f3f3eccce86b /lib/proportions.c | |
parent | a03d85b70271c0664caf15ea10d3e232848082d0 (diff) | |
download | linux-a40e87cb5098aec01b309ac99cca73f54efb3958.tar.xz |
ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex
commit 6368087e851e697679af059b4247aca33a69cef3 upstream.
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 <bcrl@kvack.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions