Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1511834pxy; Mon, 2 Aug 2021 03:37:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFrq7y/nbD2eKgkLaPWRk89MJsjgJpKXzecpRCiGnw19/cQsZuAUdAxApCBNuF19Jes2fS X-Received: by 2002:a02:b058:: with SMTP id q24mr13891205jah.88.1627900665129; Mon, 02 Aug 2021 03:37:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627900665; cv=none; d=google.com; s=arc-20160816; b=TSrpVM5StiC2iVR3bXGilurR7rOmcHlSpZL8ySk+RC4R7riGKzuFIhNFWZmmaemewk uKnX+AJ+8oCMN7Sx9rJ75UjeHN4l5rBZv1BYzqG9Fm2Q+JskTHTdnGa0F8OkBdyqPP/J qIDiH9xsVjd2MfGxj3Il77S90jBpn36E0uVdBDRADCgjz+p7dd3AXOhr9wZblgPuErNC jxyfjprmeR2uFVEhyntQoCpsK4JG4xVcsueP7zKN7axHO6Urgg2pSKjo2BdF+4T3zyYF MXRQe0Tk0yy9Z26kjr5V7QsU6WuJPf7olv68Ohr1PgqoBVI9wCR9vTnrJsJGJplj8tTe yYCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2HPJWtvtJ1V/TaeD3bFNmsvNfTh4Z+eUMqQfope/gpQ=; b=nCt569Ihb3JAoVO3ff8zP6AZfERKeDXqBLvW5N7qYiinyh2orSQ8HzMUbwnnE5HnAa ngPXMtcV6mClNEnYXx4/oy+aeq14ceRWkRpZwIbPf7FlQdEBTZtGkFBSROGFB7pRjyHz Vq6bRIEde+lX0wgbD1YM/SbYNE6zgutMaxnnoAtOjbbKnGDwYWQ5A/nf6lWKtwTXJem6 GCKVUIDyCmeHnd0/STXTHkomlut6zrW10kupZqhiVVQkIYlmNBQrZxMgR+/TIhsfazIf CS84eXxjBTM97Iwk/oPCiYLuEAfx31c5WLZgbFQP/oPPRii9i0k0FQE+/7OtzJwuAQXS 4uuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="s/TEZj6s"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si12311413ioj.25.2021.08.02.03.37.34; Mon, 02 Aug 2021 03:37:45 -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=@linuxfoundation.org header.s=korg header.b="s/TEZj6s"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233288AbhHBKgb (ORCPT + 99 others); Mon, 2 Aug 2021 06:36:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:35934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233360AbhHBKgb (ORCPT ); Mon, 2 Aug 2021 06:36:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 92AA960F70; Mon, 2 Aug 2021 10:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627900581; bh=jCtcVo0a6ZIZ1p/YHxrosxwqpunLCNXvuqd61Ntba2s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s/TEZj6sm52qqmKUrqr5v4LRvz6g4HpJonGHifmZIjl9YM3DsRca3i7ODGAyATyDf Sof54yewgwznmItJSpGUsIoEGwB+YULtxXVjCbX82JsuPWZjwhC+tweE/BJozy/+Zr yJ22xFZIWPCsNkmXZNwJk2B886KY+4o8weA9YxH0= Date: Mon, 2 Aug 2021 12:36:18 +0200 From: Greg Kroah-Hartman To: Larry Finger Cc: LKML , linux-staging@lists.linux.dev Subject: Re: kernel BUG in new r8188eu Message-ID: References: <80042e9f-6811-38f3-010b-1c0951ba88db@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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? thanks, greg k-h