Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp418742rdb; Thu, 19 Oct 2023 08:08:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHn1nYpUe+tDqc+cMlOqrj6DfiViH6Dhg0aIFLlsali3fKyemMRRfFWb+4LNy1lz9j46OVv X-Received: by 2002:a17:902:e752:b0:1c5:6f43:9502 with SMTP id p18-20020a170902e75200b001c56f439502mr3641511plf.14.1697728111711; Thu, 19 Oct 2023 08:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697728111; cv=none; d=google.com; s=arc-20160816; b=XjVokA+A79OzKQLeZgbfhsxm12KODzti93EO3S018+ESUruTOrWgdUcH/f/jDVyT5T FjAssMCv7+WiqsiuyU2NEWglOLU/ATbrsQg2jUgOC4nB27TqW5Cr8gveUk4jLfE0KyuE DK6DUXFFDbgI4UKZuYhC2pnrjpBJRznStnKkCjtZIw4N6MQaFlJeTsSY7NG/zhWmb3t2 EGN8E1eqQW9knh8x2PSLKHEerG+jR/sMnG2aOW+Z/F97hkHTKjrvOoisxFx4NisNImrV ZpRljLXb04HjZRkORvudM0ky3lnHWtrZdDCGNe4HCP3aQ/Ul9bY87dc8L/IqPuS5BYxi bHzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TjzRtNcS/wYNDP+4iS5V2qa6tIiyodzJUbGVz2EJSVA=; fh=sCriQ7/2nt5D2vAB/Ra7jLtjWQdsqDRto1Qs6xfAg4c=; b=DCLbN33vw/VkW6mTfq5Mcnxcd3PdsYFhsTyG1pESVrHGEHR5/j/tVawmWXB/puGr0c A6Cwf0uggv0tVSUrwpFXoHY2aRKbiSKMijunwLkvkVjJWS7mkZG7VgcIqu2/1StnkrIJ 1WSMjq3iJIMj5ExnCZjmo8Bsolwsscrq3TXbJPe/MIxx/EUBrhjJSx4GkIBC1gTQ6aqr exsogBvuUQwvl+mf+SQHYtyvHcnwMpb0qpNhFgnEdnuKZv0AMGUwW0PFotiVAZvJHEWT EjfJ89orSfnU53LdWxxM5kI9gxILJR+yzHKc1kDdVdNVfZd1q9cYXD7btHM5r6z3RKhp zVOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fQ2qm6zy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o13-20020a170902d4cd00b001ca6abecb27si2660273plg.498.2023.10.19.08.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fQ2qm6zy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A30A8823CE90; Thu, 19 Oct 2023 08:08:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346142AbjJSPIW (ORCPT + 99 others); Thu, 19 Oct 2023 11:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345550AbjJSPIU (ORCPT ); Thu, 19 Oct 2023 11:08:20 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D74711B; Thu, 19 Oct 2023 08:08:19 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39JDpONf029879; Thu, 19 Oct 2023 15:08:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=TjzRtNcS/wYNDP+4iS5V2qa6tIiyodzJUbGVz2EJSVA=; b=fQ2qm6zyekabZfkFHxZV6oe9zAdZRia9aA7ci88sOI+pXlXkC0NtDssryc2oPpfuBwmm hA9JHWAffpoltmCKLuyGyulGyLUQP60sEAvUvs0bTQg7xcu7Jr8HcPKOvEpmJHsbCSjM FG+C7YJa2uINIQOC6nMGhGMn6twUtww6YCBhwkUFvxvaIGXrYO5X/LVlmaf3tc+Vr3gu mqrp84jCcSU4rnYov+myNTyXz8wqb7sb12N57XzQgtEmt5OGvY4w5J6m7OsoBDuiCuuV KQ80o/UG8uawW38eHGffo8W0kTXXHVihnUC/WoUMah/bE8ctrP4TATKVrOB8lJw0MjCj 4w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ttcuv3h0h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 15:08:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39JF8DvE012961 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 15:08:13 GMT Received: from [10.48.241.70] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 19 Oct 2023 08:08:12 -0700 Message-ID: <4262a250-585b-4cee-80d0-3fd56af94cad@quicinc.com> Date: Thu, 19 Oct 2023 08:08:12 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] wifi: ath11k: fix dfs radar event locking Content-Language: en-US To: Johan Hovold , Kalle Valo CC: Pradeep Kumar Chitrapu , , , , References: <20231019104211.13769-1-johan+linaro@kernel.org> <20231019104211.13769-3-johan+linaro@kernel.org> From: Jeff Johnson In-Reply-To: <20231019104211.13769-3-johan+linaro@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: NuVRREd2tCqoe2Cn19_FuEZYRU2ak-lC X-Proofpoint-GUID: NuVRREd2tCqoe2Cn19_FuEZYRU2ak-lC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_14,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxlogscore=473 spamscore=0 priorityscore=1501 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310190127 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:08:30 -0700 (PDT) On 10/19/2023 3:42 AM, Johan Hovold wrote: > The ath11k active pdevs are protected by RCU but the DFS radar event > handling code calling ath11k_mac_get_ar_by_pdev_id() was not marked as a > read-side critical section. > > Mark the code in question as an RCU read-side critical section to avoid > any potential use-after-free issues. > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Cc: stable@vger.kernel.org # 5.6 > Signed-off-by: Johan Hovold Acked-by: Jeff Johnson