Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp920340ybl; Fri, 9 Aug 2019 16:23:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBPmq4EORFzpl0LW3wk8ZvXSN/mTYCSJO+n3p5k6fQ3UrO6v2rvw4w8wgFTYVS2D69FDmv X-Received: by 2002:a17:902:740a:: with SMTP id g10mr21784035pll.82.1565393037368; Fri, 09 Aug 2019 16:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565393037; cv=none; d=google.com; s=arc-20160816; b=miEjeU7j2CphA8/0A0TxbX+Et3GEjo3WZVFUtJxDxYjWCQ1IvXDZFoScX3EPeaNqhs yOqsmSOICpmEBZXN9sWNP0E2NUiXNr5qk8hHAg8Y9iQvIqknUYnEsuw2ydRrjZ8YlXYs UldZqhIQ7fNIvnICgsojliKXYxJA/m47h6YWMIfnzIx7De6d2xIFLeYbSlIxoIrLQxFx whvJF083vc2FsEsXZFszC4YTXG4mo3BWLDXNh/BEGiJzOT2VLa0yGtbHlOSUJbjnxXwq P2pTEjucLKMAUSnRImwjxK+cauIc8MydiDcU2AsYLVFSg2jEK5H5DUFKxdGrNX/HPyL7 Z+pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=WWvNmxhY01hO3pGH8oo0eu/i/EdHJaL+SUaOc7igoq0=; b=RduhZ486DiZsamCP7Vpm9J6puOpUTKXImDvb78KpTaYai4jbnYLHNn+70Xtx5ZEJNB lWkSjsNjhmIXEb7jpqTM6tsLNDI9j5J7pohSnMx6CR9QYDJZsExFF13mIJPW27BX5Gqm cQYMyRDmZzsoTv2MOs//r3fNBXRwveqIFuXJtapyEdoLTekSccPijCIMctkxYgpnDTkH cQPkJQWvHH1GHotZr/XjS72FS1HiJvw8xHefE7dvBESdp68AViQQMAjMTNm0Q24w+g3o 5Df753jBiHg8cnA9r8ZdpOkUUyRwB+F9jKrZObo+fTZu/Lamzud1vOjFe6OvG2M/bizw aKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFinRMHm; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFinRMHm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si56555284pfz.154.2019.08.09.16.23.28; Fri, 09 Aug 2019 16:23:57 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFinRMHm; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFinRMHm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726557AbfHIXXS (ORCPT + 99 others); Fri, 9 Aug 2019 19:23:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55702 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbfHIXXS (ORCPT ); Fri, 9 Aug 2019 19:23:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 97A786074F; Fri, 9 Aug 2019 23:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565392997; bh=Z/uToZHand0AZYw/yT7Itox+SNXuy+UT3stslmnahKg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dFinRMHmePSY/ESAaBDE5a3sS14GwXaLunluxLRoj2F1zHaeTQiHEQr1YZKwCiDde +vMpVVRKkdtEjCZUMRqW2ZqJWafkNCJrST3NhN60N0WsPqltA36Ocl2c2i0Z13oj5P KMnT+gqvyQVEKyHBULwG6hwra4JQGz5748UWeGZ8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 0FB5360128; Fri, 9 Aug 2019 23:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565392997; bh=Z/uToZHand0AZYw/yT7Itox+SNXuy+UT3stslmnahKg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dFinRMHmePSY/ESAaBDE5a3sS14GwXaLunluxLRoj2F1zHaeTQiHEQr1YZKwCiDde +vMpVVRKkdtEjCZUMRqW2ZqJWafkNCJrST3NhN60N0WsPqltA36Ocl2c2i0Z13oj5P KMnT+gqvyQVEKyHBULwG6hwra4JQGz5748UWeGZ8= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 09 Aug 2019 16:23:16 -0700 From: Pradeep Kumar Chitrapu To: John Crispin Cc: Johannes Berg , Kalle Valo , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH 6/6] ath11k: switch to using ieee80211_tx_status_ext() In-Reply-To: <20190714154419.11854-7-john@phrozen.org> References: <20190714154419.11854-1-john@phrozen.org> <20190714154419.11854-7-john@phrozen.org> Message-ID: <2dc32161ae3cf25deae0542c72941dc4@codeaurora.org> X-Sender: pradeepc@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > @@ -431,12 +434,18 @@ static void ath11k_dp_tx_complete_msdu(struct > ath11k *ar, > - ieee80211_tx_status(ar->hw, msdu); > + spin_lock_bh(&ab->data_lock); > + peer = ath11k_peer_find_by_id(ab, ts->peer_id); > + arsta = (struct ath11k_sta *)peer->sta->drv_priv; Hi John, Accesing sta when peer is deleted is causing null pointer dereference issue. Thanks Pradeep