Message ID | 20230712112631.3461793-1-quic_viswanat@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1091164vqm; Wed, 12 Jul 2023 04:53:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlEP36n2j6FL+M96RbenVepd6XxZMG5sZtgakMYoGEtMTpC0sabzjsXIhV7U/KL3lQJtIubg X-Received: by 2002:a2e:9b8f:0:b0:2b6:d57f:d81 with SMTP id z15-20020a2e9b8f000000b002b6d57f0d81mr14956042lji.53.1689162811159; Wed, 12 Jul 2023 04:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689162811; cv=none; d=google.com; s=arc-20160816; b=Lr7lHd1f/Ks2H8X2QS33K6Y/8Daig93L2ygNLaB2y1axtAftpS8fS8WprqiQ/46p0O vIaslmVXpwNdCiNxS0kXQGDSjOnSrtIKN13lBe2QdEZ8zYjpHdkMb7K+uVkAKsbDxapR cppBcMm9IJx8I6eDeFT7Ar+v/no1+n4KOlpcvOj78KpAAYudFRNYHoM2TC/EZRWZxmMO 6eA8F4UgwWDNIBGuDC6B3VU4SzoPkE77l9/dtFL2aLykitkFIBbiB3wu4QCjd4Cd9k00 QrnwVG9UYLt4f3rMsjQ7p0SLZ/QdKFJNzkmgGq2hhVn/B3UZ4NN2EEctIsal2BqAYcsG eUAg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020a1709060b4e00b009886c3287e0si4151365ejg.536.2023.07.12.04.53.07; Wed, 12 Jul 2023 04:53:31 -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 S233013AbjGLL1m (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Wed, 12 Jul 2023 07:27:42 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <quic_viswanat@quicinc.com> To: <mani@kernel.org>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <linux-arm-msm@vger.kernel.org>, <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <quic_srichara@quicinc.com>, <quic_clew@quicinc.com>, Vignesh Viswanathan <quic_viswanat@quicinc.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771215583784264294 X-GMAIL-MSGID: 1771215583784264294 |
Series | net: qrtr: Few fixes in QRTR | |
Message
Vignesh Viswanathan
July 12, 2023, 11:26 a.m. UTC
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(-)