On Thu, 2012-04-19 at 14:03 -0700, Greg KH wrote:
> 3.3-stable review patch.  If anyone has any objections, please let me know.
> 
> ------------------
> 
> From: Larry Finger <[email protected]>
> 
> commit a7959c1394d4126a70a53b914ce4105f5173d0aa upstream.
> 
> The current version of rtlwifi for USB operations uses kmalloc to
> acquire a 32-bit buffer for each read of the device. When
> _usb_read_sync() is called with the rcu_lock held, the result is
> a "sleeping function called from invalid context" BUG. This is
> reported for two cases in https://bugzilla.kernel.org/show_bug.cgi?id=42775.
> The first case has the lock originating from within rtlwifi and could
> be fixed by rearranging the locking; however, the second originates from
> within mac80211. The kmalloc() call is removed from _usb_read_sync()
> by creating a ring buffer pointer in the private area and
> allocating the buffer data in the probe routine.
> 
> Signed-off-by: Larry Finger <[email protected]>
> Signed-off-by: John W. Linville <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>
[...]

Larry, your original commit message said:

Cc: Stable <[email protected]> [This version good for 3.3+ - different 
patch for 3.2 - 2.6.39]

Can you send that backported version, please?

Ben.

-- 
Ben Hutchings
You can't have everything.  Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to