Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:33988 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933012AbbD1K4A (ORCPT ); Tue, 28 Apr 2015 06:56:00 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: [for,4.1] rtlwifi: rtl8192cu: Fix kernel deadlock From: Kalle Valo In-Reply-To: <1429891417-1224-1-git-send-email-Larry.Finger@lwfinger.net> To: Larry Finger Cc: linux-wireless@vger.kernel.org, Larry Finger , netdev@vger.kernel.org, Stable , Bernhard Wiedemann , Takashi Iwai Message-Id: <20150428105559.12144141A32@smtp.codeaurora.org> (sfid-20150428_125609_860951_500A0CBA) Date: Tue, 28 Apr 2015 10:55:59 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: > The USB mini-driver in rtlwifi, which is used by rtl8192cu, issues a call to > usb_control_msg() with a timeout value of 0. In some instances where the > interface is shutting down, this infinite wait results in a CPU deadlock. A > one second timeout fixes this problem without affecting any normal operations. > > This bug is reported at https://bugzilla.novell.com/show_bug.cgi?id=927786. > > Reported-by: Bernhard Wiedemann > Tested-by: Bernhard Wiedemann > Signed-off-by: Larry Finger > Cc: Stable > Cc: Bernhard Wiedemann > Cc: Takashi Iwai Thanks, applied to wireless-drivers.git. Kalle Valo