Message ID | 20190103021247.19367-1-Larry.Finger@lwfinger.net |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lwfinger.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PpebMhCe"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43VWfQ0BDJz9rxp for <patchwork-incoming-netdev@ozlabs.org>; Thu, 3 Jan 2019 13:13:01 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728023AbfACCNA (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Wed, 2 Jan 2019 21:13:00 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:41963 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727571AbfACCNA (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 2 Jan 2019 21:13:00 -0500 Received: by mail-ot1-f66.google.com with SMTP id u16so28298131otk.8 for <netdev@vger.kernel.org>; Wed, 02 Jan 2019 18:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=zW2gcl9j8Y/TK+oLb06snqE/2KSTbt3K8ki3HNc4O/o=; b=PpebMhCeKkfdu6lJHUg4IjZy5hJSggBugQyc4ffbrgYiJrQmOlkAFWPFcaHwr5aslW KvCbA53u7DNGDqzkY7AKAiiyKGrLofjuHa9CIren+Rxc7IO9uZXwR/niYy1xxCfZyRQi y8T44gc4eLcmNB0+UFuEgmq7dE7ytEwc1eWxeXiv1UQ/x/QXir4tbar7VC1yLrVTe/fh 5c1YslgN3nTihESNbdyWPqWWZV6JN0DoYQcRz7BAMG3xOpq7fQBhpuz35DpI1+xOh98f 4I+/W7BgrHv7S9sqlquiuYTJn5axzdoASkGQSe9NUe8K7FVFawiQdCBq1hQT/t77YZqb aO0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=zW2gcl9j8Y/TK+oLb06snqE/2KSTbt3K8ki3HNc4O/o=; b=Sqhko2kdAuCUJuB4Id9aQkQCx2jcUUf4o/2dOx9vFroELxdfJDCPvRlEWMTsznZewe 6Iv7YvHcBKwzuRQLdCjICAxn9HoqvDgmYxKmxnUFfjtoo7ZunW8gjDibasF/q+WfdcwY rQDHBqm6dXVeYkLKbKxX01CyfuK2ab85fskhCQnALvMzma27aJmW9aoNqZe1i5JznSLh RPZgLyvcIt/ysLoo6K5jtAbRFsTQZ4Vtc8ZHvZM6AuILeTBwNu26/ZTbSzjIZg0Djl0C zNFWWN9lY6LXlB1NCHrSRCEupnL3XYhIUmH/o5DK7zz9TDw8qUy3S8Ppp/MQOPvkPwek TStQ== X-Gm-Message-State: AJcUukftEMAq+iC6ziEd97dOla9CfoVhAeeTkf/HTrYLA29t4c5yDYLY FXkiQDzYC8g6GOb/NK6ny4E= X-Google-Smtp-Source: ALg8bN5/PQytHiBXDt+Rh5b+NXAcArRgbwRPCdYuJ+FU429uCPhC3aQA/EUzjYnUIdDvzN00OngQlw== X-Received: by 2002:a9d:2661:: with SMTP id a88mr32716956otb.91.1546481578914; Wed, 02 Jan 2019 18:12:58 -0800 (PST) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id v3sm49418239oib.57.2019.01.02.18.12.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jan 2019 18:12:58 -0800 (PST) From: Larry Finger <Larry.Finger@lwfinger.net> To: gregkh@linuxfoundation.org Cc: netdev@vger.kernel.org, devel@driverdev.osuosl.org, Larry Finger <Larry.Finger@lwfinger.net>, Michael Straube <straube.linux@gmail.com>, Ivan Safonov <insafonov@gmail.com> Subject: [PATCH 0/2] Fixes for system freezes for r8188eu Date: Wed, 2 Jan 2019 20:12:45 -0600 Message-Id: <20190103021247.19367-1-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.16.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
Fixes for system freezes for r8188eu
|
expand
|
The driver issues "scheduling while atomic" messages and will freeze the system. These problems are due to attempting to dynamically load library encryption routines from a tasklet. The fixes are relatively simple. All that is needed is to replace indirect calls of the try_then_request_module() macro with a direct call to lib80211_get_crypto_ops(), which forces a load of the lib80211 module when the wifi driver is loaded. There will be a similar patch for TKIP encryption; however, the faulty patch has already been reverted, thus a fix to use the lib80211 routine directly will be more intrusive. My original attempt failed, thus I am delaying that fix. Cc: Michael Straube <straube.linux@gmail.com> Cc: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> --- Larry Finger (2): staging: rtl8188eu: Fix module loading from tasklet for CCMP encryption staging: rtl8188eu: Fix module loading from tasklet for WEP encryption drivers/staging/rtl8188eu/core/rtw_security.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)