Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp357370rwb; Sun, 25 Sep 2022 22:41:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4TH7PJq/GDxwx7sD2NytFkkU/UvbTs1QChOi4VhDvTm4bpYPVpEFHwvDgCT2aQxDHT9cSg X-Received: by 2002:aa7:d451:0:b0:456:e651:bc4d with SMTP id q17-20020aa7d451000000b00456e651bc4dmr11835399edr.143.1664170903894; Sun, 25 Sep 2022 22:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664170903; cv=none; d=google.com; s=arc-20160816; b=KRk/x/tmq7QgOt+aVTpjUK/6PqoeYv4G8LAg2Xlb3pZbkplo1zVVlONqdvp6gakl0U FwiI4dfPbUmi4pljZyUTapAacZEfPnCFuXkU6GBeIpGx/YObmiO7qJwFZr0IM2o4dhC0 nAi3Uiyk2w/fkAVQC6DOjEHYSnrJzeS36NfMDPXWAK4w3ZJGJq3wywsdIa4zQvNEcbxG imUftJ0fF8f/35f0QXTtQSqYH77VKK1/e/z1oY7qeNhl2SvAV7d+5gMdf6Ps6YhRAUVg n/ajeZ9SvI/TQR25GhElJcCdswTiLrhTwNzi4vpO39lngXRxrSh3NWQYLFIToROzyeum FABg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=Ps9wlHw7vXkcieXK83AfNi5P/RoAC63rJoxxjHsQr6s=; b=ii1qecD+fao4pFlnZlNbQk2dpE1JS7z4AM+QtQbRKEL9grBQYAMomKTMWe2/gTqgX4 zUruqSPB8R31DuWN9yjBlaiJAex/5/cPPVn1TdqY8otedUfwtYWyW4GySgPbHSaEw7Ae vaNf9zAmBYAG3MpyKqWh+yOZQgZEQjqlQj/o9eof6kHRZ8XElJExW+xwFA6QG1/eOLJ1 XVJu6+Lrsq0FzTn2WUZ7N0vd7MUMwPiFehmUdMpz0XHKaNMosYFuwMygqRHP+sTPqCsy 4j1D5FsomOCfuI4z/uEEq7hlARxV0ONyu1XOp8LrOxBZxnxbT6EJo/g17DpKJw0bz423 xkDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eIPcs8q+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd9-20020a1709076e0900b0073d6481dedesi17691950ejc.224.2022.09.25.22.41.24; Sun, 25 Sep 2022 22:41:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eIPcs8q+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233125AbiIZF07 (ORCPT + 62 others); Mon, 26 Sep 2022 01:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbiIZF06 (ORCPT ); Mon, 26 Sep 2022 01:26:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 435EB22B15; Sun, 25 Sep 2022 22:26:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CCFC061707; Mon, 26 Sep 2022 05:26:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20BF7C433D6; Mon, 26 Sep 2022 05:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664170017; bh=273XhwOEyPWVYl3VCbxmXBs1JmTUU2NZXqQijQb2v8g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eIPcs8q+du0LaFSczlj7yEJu+bWoxSvi+UT4TwzVYA+e8Eli5jdHX73OcUqx5Zluh UauSsXCek1cOFiZNj4JlZVKhthdg8Bpe22q/hO/T2rdxHUF6rFT88ZUvLUmKUDmujR s2Hos1c9FPJwBF/MP/iEVkjCs+Fhq4/SmHCmeUfVdp9Uih5Jpyw7JhT72ySvlTZNCw vMqMTpWA4WIjLwu5cUGGriFmMy7+0Jvnhu/xW6MgVztUi5Mbg5kV2LjtmhqwNTcMbL Iho1I5zwBhN9wJOm1D7PsgrjE3RumXMqEIjA/40RaJA0xh+6E9uisBG5JcZGuRt45E cOHRJlRlQ17WQ== From: Kalle Valo To: Ping-Ke Shih Cc: , , , Subject: Re: [PATCH v6.0-rc] wifi: rtw89: free unused skb to prevent memory leak References: <20220926021513.5029-1-pkshih@realtek.com> Date: Mon, 26 Sep 2022 08:26:44 +0300 In-Reply-To: <20220926021513.5029-1-pkshih@realtek.com> (Ping-Ke Shih's message of "Mon, 26 Sep 2022 10:15:13 +0800") Message-ID: <87illa7lkb.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Ping-Ke Shih writes: > From: Po-Hao Huang > > This avoid potential memory leak under power saving mode. > > Fixes: fc5f311fce74 ("rtw89: don't flush hci queues and send h2c if power is off") > Cc: stable@vger.kernel.org > Cc: Larry Finger > Signed-off-by: Po-Hao Huang > Signed-off-by: Ping-Ke Shih > Signed-off-by: Kalle Valo > Link: https://lore.kernel.org/r/20220916033811.13862-6-pkshih@realtek.com > --- > Hi Kalle, > > We want this patch go to v6.0-rc, because it can fix memleak caused by another > patch. For users, this driver eats memory and could lead out-of-memory > finally. > > This patch has been merged into wireless-next, but I forget to add "Fixes" > tag and Cc stable, so I add them to commit messages. If this works, I will > prepare another patch for v5.19. -rc7 is already released, so we are quite late in the cycle, and I'm not planning to submit another pull request for v6.0 unless something really major happens. So I think it's better that you wait for the -next commit to reach Linus' tree (should happen in next two weeks or so) and then submit a patch to stable releases. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches