Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4504967ybi; Tue, 30 Jul 2019 03:15:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNWOPOTZSqRqFKqDQ9dwekTxZRZ4EcUvYnE7doP2SPDBhlg1EFQWk0brK6ZhITxo1fSyYD X-Received: by 2002:a17:90a:ba94:: with SMTP id t20mr116653472pjr.8.1564481737186; Tue, 30 Jul 2019 03:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564481737; cv=none; d=google.com; s=arc-20160816; b=ccVAJJucSLa+9gR6f0IqRuI0BKI6MwvmXFH0MFiZOwBmeo8/3bbhx0dCjBdFpS7qRv FORnhNL9cdLCkdJCSFkfN7BFBADzolCTqEvF9kvvHf2veppXmbEmsuUj4JxrgVzU5mOn 0+82IFK4EIZEjVgKSBizan7xI9f3JEOV/HGTmsUvavgVz8bxCKFGi1WCCvtIQIHXzOcN uPxXvw/xnMVMj69JrDeqwNRVNCqAFm8b7y7Yff1fAXGiPJBdEbSzDrP1d6UVJl73CKXI aatlYp6+0qSphCSIuDFomA2weNwaRykN5AKgEsgZuUe6UnxSrcW66b9ANT10/ka6rk9r 4FKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=q7hyhcA+cvUJHTFmhdXphR6qFmuq5wwpl8xQqRuzuyc=; b=sPXMRpGTmadhRI8Dm68eRIs/Wuhkwa9Vp8qyfzXgAju8SMGl2l4h78IAPrZOHOYOY6 ncxKrw1DpiN2MNYWeYHhIrGH6zPFS6C05Ih6QosMEwtDYuiLMvSdtVTBMMuvjkj/67VP ltpk8GanFnfFLj3NLuZTQCy8C28Zw+58bn4wNcGeLyVwhXHxl1B4NY55DxNxI7wukcYn nxgymXQuuanMTYA8FhsSYDmXTaPZgLTihgex1mYz6Tu4y6ExTeMhwcsYKXX7a5XNZ6xH kbSnJPevdF5Bn05oLzV6SfFb93o+38BOiNRd8lfG65QNoS8T+6NkwTpH0vvpyxmpCLxN /Odg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x203si28766747pgx.545.2019.07.30.03.15.08; Tue, 30 Jul 2019 03:15:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727352AbfG3Geb (ORCPT + 99 others); Tue, 30 Jul 2019 02:34:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33012 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbfG3Geb (ORCPT ); Tue, 30 Jul 2019 02:34:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5EBBA307D90D; Tue, 30 Jul 2019 06:34:31 +0000 (UTC) Received: from localhost (unknown [10.43.2.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id 064EF5D9C5; Tue, 30 Jul 2019 06:34:30 +0000 (UTC) Date: Tue, 30 Jul 2019 08:34:04 +0200 From: Stanislaw Gruszka To: Tony Chuang Cc: "kvalo@codeaurora.org" , "linux-wireless@vger.kernel.org" , "briannorris@chromium.org" Subject: Re: [PATCH v2 5/5] rtw88: add BT co-existence support Message-ID: <20190730063403.GA3174@redhat.com> References: <1564023211-3138-1-git-send-email-yhchuang@realtek.com> <1564023211-3138-6-git-send-email-yhchuang@realtek.com> <20190729081211.GB2066@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 30 Jul 2019 06:34:31 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Jul 30, 2019 at 03:13:35AM +0000, Tony Chuang wrote: > > Those coex response skb buffers are allocated in rtw_pci_rx_isr(), > > but I do not see where they are freed (seems we do not process > > them in c2h_work which does dev_kfree_skb()). > > You're right, that SKB leaked. Should free them after responded. > I will send v2 to fix it :) FWIW maybe would be better to process coex commands entairly in c2h_work ? Not sure if that would work or really would be better, just an idea you can consider :-) Stanislaw