Re: [PATCH] ipmi: ipmi_devintf: compat_ioctl method failes to take ipmi_mutex

2013-05-16 Thread Corey Minyard
Yes, you are right. I've pulled this in to my tree. Looking at this, ipmi_mutex really should go away and be replaced bu something that scales better, but I guess it's not that critical for IPMI. -corey On 05/13/2013 02:39 PM, Benjamin LaHaise wrote: When a 32 bit version of ipmitool is use

[PATCH] ipmi: ipmi_devintf: compat_ioctl method failes to take ipmi_mutex

2013-05-13 Thread Benjamin LaHaise
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. This is pro