From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04F34C4338F for ; Mon, 2 Aug 2021 11:45:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D688560F4B for ; Mon, 2 Aug 2021 11:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233453AbhHBLpV (ORCPT ); Mon, 2 Aug 2021 07:45:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233382AbhHBLpT (ORCPT ); Mon, 2 Aug 2021 07:45:19 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF74C06175F for ; Mon, 2 Aug 2021 04:45:09 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id x11so29492666ejj.8 for ; Mon, 02 Aug 2021 04:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QQYCpHJmp8uC7aFvit0nfPjJGJp7mRZxxtVuqB2tCDY=; b=azqj+BfZoaRebYhVFIG0bWlGPdH/zX31M4uyrGiwqPqsqXbFlLfVu0hseU967UBS5I kHtVg2Aftmdh5iI2HUyVlETQdTbdzXbcb5wmlUbuG/TLeAnOXIxcp3tkdrNeaH/tqGz4 Ushb+yW+VERF2Dw/FlNGleRyAayiw80zljifk11XGAaV9NPIrYeWDhQDa8BUutA6pr+R PzBUK1+YTnyM8pjUBx0Wp+GSIAQ2MjWDv/MAckgtK4ApkEsULWzINpdl4pPsGwTj7UYs oN0toPcq23FDjNHIGajBaQ2qUuAKk/SG9FA7lsJ0irOCOZ/6ahWGswEx3kdVlOL9evB7 6/Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QQYCpHJmp8uC7aFvit0nfPjJGJp7mRZxxtVuqB2tCDY=; b=VWI5kp9z1Eb1/LnvGUyDgPI9TcAPWPozHRGHGpD1xtjS2Y8CE+bjj2cmjdRy2xvCrI P1/amPVeC61f2F3WC+q++Zy04SXCEfY4EFkvn+IuQvfLW5HIQrYfRRd0gOeGaMb5RNu7 bFD9F46IqJ/UwChF+qXF9ozifA18WIWO9jx0CgR0fijk9zj9emSySm6NuPkUsRhDZISy 47ZyUzq8ewiPqIUC7QnUp6aeLl8bwndxdlBmB1wXzImWK+nif0bmjcT3VkplaUPQte13 MTk3JxZrfIMm/WLLTtfwX6uZ2b4K9lunmHqL3gFJ8drpJi2BIaevUIGaO9uyjt3cwhMO moNA== X-Gm-Message-State: AOAM532GEysfrKjUGJ9uYFNPgym0AD9xoYuLodIzQ4OpBPdIuwPayBoW oZLfBfl+QAbgFAft/yty7xhTe/dczX8= X-Google-Smtp-Source: ABdhPJyNZB7XXcSbXyYBqLnZMUEY1Yqr4bx+VwLeu/9cH9+EIBji/FiOy++e9eSF1/j+lMqi73qz+g== X-Received: by 2002:a17:906:3b87:: with SMTP id u7mr15219773ejf.66.1627904708359; Mon, 02 Aug 2021 04:45:08 -0700 (PDT) Received: from localhost.localdomain (host-82-51-42-96.retail.telecomitalia.it. [82.51.42.96]) by smtp.gmail.com with ESMTPSA id q8sm5876246edv.95.2021.08.02.04.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 04:45:07 -0700 (PDT) From: "Fabio M. De Francesco" To: Larry Finger , Greg Kroah-Hartman Cc: LKML , linux-staging@lists.linux.dev Subject: Re: kernel BUG in new r8188eu Date: Mon, 02 Aug 2021 13:45:06 +0200 Message-ID: <147993920.vpeT8VCmXh@localhost.localdomain> In-Reply-To: References: <80042e9f-6811-38f3-010b-1c0951ba88db@lwfinger.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Monday, August 2, 2021 12:36:18 PM CEST Greg Kroah-Hartman wrote: > On Sun, Aug 01, 2021 at 03:15:52PM -0500, Larry Finger wrote: > > On 8/1/21 1:31 AM, Greg Kroah-Hartman wrote: > > > I am worried that my "remove the wrapper" logic got something wrong > > > here, so if you could test the revert of that, I would appreciate it. > > > > > > I think I need to go buy one of these devices so I can test cleanups > > > locally... > > > > The bad commit was 9ff1cc4ef80e ("staging: r8188eu: remove rtw_buf_free() > > function"). > > > > Looking at it, the only difference between the original wrapper and the new > > code is that the wrapper zeros the len variable before the kfree() call, but > > making that change did not help. Reverting that patch restores the old > > behavior. > > Ah, doh, that was my fault, sorry, that patch was incorrect (odd git id, > don't know where that came from, it's a different id in my tree.) Let > me revert this commit and then will redo it correctly. The commit to revert should be c7e88ecbe328. > > thanks for finding this. > > > There are lots of these on Ebay from $2.47 up with free shipping! > > Any hints on the name for how to figure out which devices are supported > by this driver? The following link points to a device that seems to be supported by this driver. It is just $4.99, but I'm not sure whether or not they ship to Europe (I suppose you're here): https://www.amazon.com/gp/product/B00L28AN88/ref=ox_sc_act_title_1 About this item: * Chipset:RTL8188EU * Standard: IEEE 802.11n,IEEE 802.11g, IEEE 802.11b * Supports 64/128 bit WEP, WPA encryption Otherwise, I think that the following uses the same chip as the above. However, it costs a little more and, above all else, I'm not really sure if it works with r8188eu, since they write that the chip is a Realtek RTL8188EUS (please note that final "EUS"): https://www.amazon.it/Asus-USB-N10-NANO-N150-compatibile/dp/B081758CWC/ ref=sr_1_1 Thanks, Fabio > thanks, > > greg k-h