Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1550770pxy; Mon, 2 Aug 2021 04:46:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeecUPcqfPMvNXAFrgZy6cYhaN3fwn1I/45C4F7jTtocaz1HZb4P8NUswVp2uHO3ZVMfNo X-Received: by 2002:a6b:fe03:: with SMTP id x3mr286099ioh.120.1627904762934; Mon, 02 Aug 2021 04:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627904762; cv=none; d=google.com; s=arc-20160816; b=Ay6Ebs5ZwwGMToSWwlDPdOLxOMVFqc9kuEyoxmymbQn6vcyscwCc1Y1FCmaOpyoR4c r4QTasipAJIKfMMSPr5hC3Eiy/xmpLbFSc5skZxdjVG3XsJ4cHvvn8Pnz3ZszYma3OGB +WhVTv3wwauEX2VjxFKKKt7q8TPCrm1D8Yf3hQiB2toZ+vW4dCi6thbS9/8F/9naQky3 XNDWW0UUHF5bIseV2Xe7CEwIHAbFAle1jF8fGnIblT9I6pHBp9s+fZK9IPm0Lw8EMehW 4/h9ZsIp7wg0JxzNLtv5w/A9ePRNk+02w2RLK9AJcHyrhVSfW8ucpGJAQYVd1mBc1QYu 5+lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QQYCpHJmp8uC7aFvit0nfPjJGJp7mRZxxtVuqB2tCDY=; b=PDpBS3NwF53cjBANhk5BKxFBOlC1JgsWHSrlARzmG8RvMjs6r12DXKuzUb7wkdsMHB tpXPMf+Roe87f7oCWa/jFmDEQ222TVUSCoJDIvx+znQJWtkK3oOnHqVPDblFKASbfVw2 EXkGlCBO6mKwdm0OVvZxj8qyl3AODsOOHxMnjvFEXRF2Je4fR36TBecjEGeL2sxFPGQZ TJsCk0mo58V92RbwFE+1QV6/sXlNlBT8So3M9IULWl1c9M2qnyabwVouF7QNO0K58gpL RClR8haq1osHfmSGB/R0yI0fzTD+Opz1OpMbTBE5DJhkCmYEQyaAHLooBbETs2B+KBVO JvYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=azqj+BfZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si11504813iod.34.2021.08.02.04.45.50; Mon, 02 Aug 2021 04:46:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=azqj+BfZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233412AbhHBLpU (ORCPT + 99 others); Mon, 2 Aug 2021 07:45:20 -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-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