diff options
author | Benjamin LaHaise <[email protected]> | 2013-05-16 14:04:27 -0500 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-05-16 13:49:25 -0700 |
commit | 6368087e851e697679af059b4247aca33a69cef3 (patch) | |
tree | 3ec374be28fd14b13b7266fb1d55c0995d09bb37 /lib/mpi/mpi-cmp.c | |
parent | 0849bfece0199a345b0c5143d10cbc1dc228a60f (diff) |
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 <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions