Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3180341pxj; Sun, 20 Jun 2021 12:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuUA7fwUKvHozou+IsEUIkmxxwq6FkbDEpGeeAfrCcSexRMhW77HZ8zs2rAzd2i6bqGWf2 X-Received: by 2002:a17:906:1681:: with SMTP id s1mr7042712ejd.321.1624217654727; Sun, 20 Jun 2021 12:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624217654; cv=none; d=google.com; s=arc-20160816; b=DuauBV7Nim33XYPJgBt12kRrDDlk1RkgZQuCdO7qOqjp/i0PPBdoSIO5I9dkRA/0tt vYwJhNsT4jXjAKNKCf1VoPZma2XPCXMfxSKOWKE30HBV15d4nmmQJFXDd8DWjvG5GwD0 I27UyN/KOH0ccMBW5umAcXPv5XGeo4KjFfJKbTh+M46ul7+itehfXnOgXHHyBY3JOSKT qsLiGXfV9Sd05i3WJRg+WTV+ahGVLNoxY5UgLM/EhKQpNHLg+EGN13xozg9PxApifr73 vHzWeYf9M6F8ghuzNwYFJAYi93ZpvXNHDPO4OH6E5tzzMpj7Dx9gpC5nhv46PDYhK7nl 5qgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:sender:dkim-signature; bh=F3Jbo1bxOigIkwADGzw1igpxGAGZ3MA+IpwTBWPHAQw=; b=F6vsnPmtmdItUBQqV0V6Tm+6ys2rwMWimf/MNLjhggpAQnhmCcQIeCrlHq9oI1BBMj YIBV7nsM836jDFud/V28z6FZRACljGLSwSRJ/dsdIAcJapYgy8pLE1TGFuj/cj9q8hW1 oFEOuSV+Cve6iGZ6+8ODrIi+Vas6R3OYG7m/zqvZjdxhl1vQk/ErZtfXDC/QjOToKa9i eVlfQhqYDZih+7DlTLDSGyL4UhhI+lB3nbndPQoCefaabQhyixp0a5e1aJz13ojtJpGX d9fKHnZmFgr6MXyFHIFOtzpgEqCFpdbbDDbCM/LF5kv4SBKKIqTNGH5PHIEIrGCe56Dn mLbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LrDTXQ6W; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jl26si7171701ejc.684.2021.06.20.12.33.52; Sun, 20 Jun 2021 12:34:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=LrDTXQ6W; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbhFTTfl (ORCPT + 99 others); Sun, 20 Jun 2021 15:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhFTTfl (ORCPT ); Sun, 20 Jun 2021 15:35:41 -0400 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE1BC061574 for ; Sun, 20 Jun 2021 12:33:27 -0700 (PDT) Received: by mail-ot1-x336.google.com with SMTP id f3-20020a0568301c23b029044ce5da4794so8920617ote.11 for ; Sun, 20 Jun 2021 12:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F3Jbo1bxOigIkwADGzw1igpxGAGZ3MA+IpwTBWPHAQw=; b=LrDTXQ6Weq+s3Dcx2XrwOz46ZSVct55JDobtGDWGyNmTS/yNJE1ZiM6QhKupk6QKke vONbE56lc3ljNTKZ2FhtT5GfvCPJtA+wmJyy3CGRz6HWXRsV1VISl5wBAffjHz0SoOX4 QMwvm23E6NCMnW09bObZoa+oyIAwltW0tXWR4yglUvJNBZkWkV9qXBq3sUndZs78OMhT gRtkBXMBU4BWoyrTMsly0ZilQCKOlyOaUlB7ZKt50o0iWOKAQLXArExPObLI2gWLEhLg qKIwfkGs88xD2AApz1yFmkTlLDWAq0bxpmDoLX31iYsRYgrDByOzdBLQREmmsFnL+rkZ kzaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=F3Jbo1bxOigIkwADGzw1igpxGAGZ3MA+IpwTBWPHAQw=; b=oJNieMMIETDyohEerDPuMoPyDDEJV0sPxqZ/ANWdRX+eI+xuBJCLmLYYgC6vXnc7aA RRtwfkUyd7nGYH1pf24YltSHoGdfSMdi61IOpnfeZpjRVEyGfjLOguCIU3C22VlPinIi XDP5GVm7y2jvaJZgwIAQ4C6TCc15eIMRN82kwWbb4pXVy79jy1WtuBLtd8dI/VWC/2ld cJqIbJcKqEypf8mx/ZmmFStEQnRZwYajltf9EKdMvk64S4nD/uxUHqD92jromCX+g9pR nehHmEJ9hM9eH5wXsWzzG63fTEVpbOPY89cL7SEGYtdlCxjCJsMmy3DyiKhRNFyKn4cO bECg== X-Gm-Message-State: AOAM530xg4MaR9Rmvd+trpbpzR4/EXS3rqb36AV71GScRqdL+mM3C7/T SbF/4poVxaNkj3j6H9yjlXxNpYnVLTk= X-Received: by 2002:a9d:2669:: with SMTP id a96mr17651433otb.127.1624217606256; Sun, 20 Jun 2021 12:33:26 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id q18sm956695otf.72.2021.06.20.12.33.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Jun 2021 12:33:25 -0700 (PDT) Sender: Larry Finger Subject: Re: Memory leak in rtw88-pci To: Brian Norris Cc: =?UTF-8?Q?Klaus_M=c3=bcller?= , linux-wireless References: <83a9aeff-ce2c-3442-90fa-7e190acf3dfe@lwfinger.net> <1af1e1f4-caa4-323e-0a2a-b3fdf1cac6b8@justmail.de> <92a3ff23-2763-44e2-a20e-25190d46d4bd@lwfinger.net> From: Larry Finger Message-ID: <75427961-7d9b-d943-f0b0-118ab8645be9@lwfinger.net> Date: Sun, 20 Jun 2021 14:33:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 6/17/21 5:54 PM, Brian Norris wrote: > On Sun, Apr 11, 2021 at 12:35 PM Larry Finger wrote: >> >> On 4/8/21 11:12 PM, Klaus Müller wrote: >>> May I kindly bring up this reported problem again? Is there anybody working on >>> this problem? Or did I miss the already existing fix? >> >> A fix has been found. The patched code is available at >> https://GitHub.com/lwfinger/rtw88.git. Patches are being prepared for >> wireless-next. From there, they will propagate into the Linux distributions. > Did you ever submit the second half of that patch? > https://github.com/lwfinger/rtw88/commit/0eed97166d54cf6fa03e20735b9c208375b8c949 > (modifications to rtw_fw_c2h_cmd_rx_irqsafe()) > > We're still seeing leaks here with kmemleak, although I'm using a > 5.4.y kernel, so maybe don't have all the latest fixes yet. > > NB: I *do* have this: https://git.kernel.org/linus/191f6b08bfef > as it made it to 5.4.y. Brian, I fixed the leaks, but forgot to submit the patch. My repo at https://github.com/lafingerrtw88.git has the fixes, and does have any leaks on my system. The patch just pushed has the same fixes. Larry