Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38244020rwd; Wed, 12 Jul 2023 05:16:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlH1RBDAnEyyVFNcd7IIy6GarWSirU/MX2VaOgaJybhXhqIATK+w9kCeNs3a8ENvcFHGT0r+ X-Received: by 2002:a05:6a00:3a2a:b0:675:8521:ddc7 with SMTP id fj42-20020a056a003a2a00b006758521ddc7mr21810950pfb.0.1689164214613; Wed, 12 Jul 2023 05:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689164214; cv=none; d=google.com; s=arc-20160816; b=cSEnj1TD9G9m4dL1c8SYcn4QzXWD2i2C02Qq99f0Qfw5LmvbA5IMlStEq2yzHKsCod NQ884EmPCDVQmB0l5yosrmqBI6eFGpR8SVAU6+tlqtwbc5cC3AJf3IGhp7gGcZ/HV4Qp 03CYaeTSw4gwG+TIcPtzEfaSMWpaKbDrobNh177pVWzEpu+GgsZJgDDTghWLPBrK+eeN PQaL9RlMRfG7JuWowzz2tgcaVUS/SpNJst+AN5wus2zupUWPvZD8Dqk2OoDeNYHn5MqM VoxDfWxMvnlWH6fkpU8E4DvD8INBox5BKxStkMyIwxVVCwokKkJ7fnYTduT3Uc+bOwqj Q9sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Q/LYQEP/seOsiwDhh79aHPlIPS2WT+AlGOt++dLgaSw=; fh=xHrKp8+bUxvfI02f9POZGuAxmAt/WwBN7skM37uOXYU=; b=CULZbKq4dp8DTNfIzs2kLxSi7oW9mrL4P1ZfNXodt3XEt5jzv2hMp7oflq50Fhmk0a kt+eedMbUe0I6WeEs9nsHnTD7KHWL80GKrXd/19E9Zr22f4IXKNG3bkXRl/PgGOMTIub YczEDZyKK3jbBXQUyVTMDxwjhoCY30n6VxFCcolvxawdzexCTSz4Jcsc1Go77LQPSh4b hcPaZCfik44mlO+C6xpdYEnJkh4xN8gHGtJ3Hti8cI1tlVaxLe4JZ7WCuktL3I5Aw0hq GOAE3Uzappwq0NGTdfBnnnUTULWLdO5jYTO+Rq421bZZG3Sj4NnCjbmifaycyXUxBZZs iYOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OBzXQH78; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o30-20020a637e5e000000b00553ce421356si3211795pgn.56.2023.07.12.05.16.42; Wed, 12 Jul 2023 05:16:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@quicinc.com header.s=qcppdkim1 header.b=OBzXQH78; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233202AbjGLL1l (ORCPT + 99 others); Wed, 12 Jul 2023 07:27:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233178AbjGLL1i (ORCPT ); Wed, 12 Jul 2023 07:27:38 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7608F; Wed, 12 Jul 2023 04:27:36 -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 36CAUs0p030726; Wed, 12 Jul 2023 11:27:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=Q/LYQEP/seOsiwDhh79aHPlIPS2WT+AlGOt++dLgaSw=; b=OBzXQH78WovVtQ2nRuEFJrft+6a3aiiR8kfH/zm6C89lIoqK5kJjrlNg8ulH40Uvt4q4 u//1hfJGy4ezDemYS4OadkFTgwlXVuyBWnu/iCrWdNTl9Kzrig1kkcBr1mhp5ceEsvZ2 26vh3Wy5UrYX66bRwbnnPyEImsaELJ442Tige+MfXQdLgz9RV0LgYz4NJdULZkCm5eId 3/NRXuupcJbmNatCtruwWNqAhLYV1BrSEcZ02eqdFGYocvg6nzwMItshKBzufXHN7S5m APY2kpqGDs0mEiXNsfAkjmispNPhGXWqISI8MPQSbUPbS+ON12W16AVmikzlINckoJ25 5g== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rsf51ha33-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:27:27 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36CBRQNl005639 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:27:26 GMT Received: from hu-viswanat-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 12 Jul 2023 04:26:51 -0700 From: Vignesh Viswanathan To: , , , , , , , CC: , , Vignesh Viswanathan Subject: [PATCH net-next 0/3] net: qrtr: Few fixes in QRTR Date: Wed, 12 Jul 2023 16:56:28 +0530 Message-ID: <20230712112631.3461793-1-quic_viswanat@quicinc.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 5cwDYg0KuKG6o0HZxRzCVK1WaIcPY4tD X-Proofpoint-GUID: 5cwDYg0KuKG6o0HZxRzCVK1WaIcPY4tD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_06,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 malwarescore=0 mlxlogscore=426 impostorscore=0 spamscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120102 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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 Add fixes in QRTR ns to change server and nodes radix tree to xarray to avoid a use-after-free while iterating through the server or nodes radix tree. Also fix the destination port value for IPCR control buffer on older targets. Vignesh Viswanathan (3): net: qrtr: ns: Change servers radix tree to xarray net: qrtr: ns: Change nodes radix tree to xarray net: qrtr: Handle IPCR control port format of older targets net/qrtr/af_qrtr.c | 5 ++ net/qrtr/ns.c | 139 +++++++++------------------------------------ 2 files changed, 32 insertions(+), 112 deletions(-) -- 2.41.0