Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1887898rwl; Thu, 30 Mar 2023 03:00:19 -0700 (PDT) X-Google-Smtp-Source: AKy350aI4BFG1tQgUltp9b1UdsjAnmPsQ3J5B3+ifSnf2+qkNBbMJNvxj9zSVSQwSf32Dh03HDzc X-Received: by 2002:aa7:86cd:0:b0:5fc:cd83:92f1 with SMTP id h13-20020aa786cd000000b005fccd8392f1mr1690208pfo.1.1680170419165; Thu, 30 Mar 2023 03:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680170419; cv=none; d=google.com; s=arc-20160816; b=Pa438m/9QsPHSsz7V+v3twBI/R55797HwqAS7nFIxLvFAwPAjjEBw2wPWc5TBo8zOK Dgz+ASpVs8iW2gXJDb0Tme/GVLCk9w33zLoJaSA3jDwD5qq6Fh/89yL6Kh2sWDgWkGfr HrtdXnp7+ydrgAsjmKWI4IjRzFh1OgEdJbdAfMaAWR/gdeyd9wHJE6vsRE/yrijrQUXa hiuiINRwZByS/U5CTdHr4HrKFD4ncie3HImd5xdw3vNRNsYMQtkWtXNv5Nt75+sCEjzZ 4/EdyB86EtAkT5fpdUBtgX13NFFWZf57OLcOal2Z9mPzC/aEz2mDSjbyH4Sv8mHTPcRm ASZQ== 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=+5MOdgd+F9DOFkIAvbc9XGeePiUbARDP9UnLP6YhKxo=; b=asvC4lZPFv8QcexgRQT8O8egs2e6JkD6Xq4Xg7xunZ8Heixa0aLSzTPjUupHRn/LEj eW3WK+cQyFZa9x85TJdObK4u/Ix7paXG7sHJXg9tRZKMmRnpblyQA7sryV9FZotnTPGK ygDYEEBJjZlOBTR8p9TeL90wSvKZ3XIY6gGNA4brPmYRnhfBnM2KgW4+3vUB8xAsF6eF CZQ4vVNfcvSTiWoFo4T95SvtLs5bFxE19TbOIakTj/E+jwuqCf0Kdcwf9113QG//AuxE eDK7GKZDBG59ZKeRLhSzpqxlOJHCVKISIwbS7Stp+0xD4kptnEDRggwTUE8iL7oyvGh2 0o3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dLFkDMHd; 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 u189-20020a6385c6000000b00513a68ca71asi1039048pgd.742.2023.03.30.03.00.05; Thu, 30 Mar 2023 03:00:19 -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=dLFkDMHd; 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 S230082AbjC3J6Z (ORCPT + 99 others); Thu, 30 Mar 2023 05:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbjC3J6X (ORCPT ); Thu, 30 Mar 2023 05:58:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC0A4AB; Thu, 30 Mar 2023 02:58:22 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32U8wVkn031996; Thu, 30 Mar 2023 09:58:16 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=+5MOdgd+F9DOFkIAvbc9XGeePiUbARDP9UnLP6YhKxo=; b=dLFkDMHdHk9lCu8W//3UHsxeazPTdmqBxNuSV01GXgjSJMCe4RRrDMfWSBlyjQ/AEQPO yn34ZcMdOIoBgefYyH1MfAHNz0dXchrMLLdbTmEExqdDp79YOGthfWLmjwxHYfezEoz6 q15ccFVa2ao813qw7NyBWTzzBGxlwZ1b3W32yha8HK1YnGL0qODteDCz5NI0QXrgXwt7 CpjYfKEWxiC8LSvXmmN0BMHr0eWd4selofp6eLienXy0DudIK+BjJeBQ9GDh/MVLufiH lqhhjHfIq51alR2TZbiBeEJ2b1w2tZ4Kx09dcyPlP9wkTmPq1hw1aqg08zug5BMjBxu+ Xw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pn7by846f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 09:58:16 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32U9wF1w001527 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 09:58:15 GMT Received: from [10.201.3.182] (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.986.42; Thu, 30 Mar 2023 02:58:11 -0700 Message-ID: <7da90524-37b3-0168-6326-a0a46b287736@quicinc.com> Date: Thu, 30 Mar 2023 15:28:07 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT Content-Language: en-US To: Jakub Kicinski CC: , , , , , , , References: <1680095250-21032-1-git-send-email-quic_srichara@quicinc.com> <20230329213216.7b0447e9@kernel.org> From: Sricharan Ramabadhran In-Reply-To: <20230329213216.7b0447e9@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: ZS0G6pDsMpXHsRe609Ow0IiOUpDmzetz X-Proofpoint-GUID: ZS0G6pDsMpXHsRe609Ow0IiOUpDmzetz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-30_04,2023-03-30_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 spamscore=0 clxscore=1015 adultscore=0 mlxlogscore=998 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303300080 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 3/30/2023 10:02 AM, Jakub Kicinski wrote: > On Wed, 29 Mar 2023 18:37:30 +0530 Sricharan R wrote: >> When the qrtr socket is released, qrtr_port_remove gets called, which >> broadcasts a DEL_CLIENT. After this DEL_SERVER is also additionally >> broadcasted, which becomes NOP, but triggers the below error msg. >> >> "failed while handling packet from 2:-2", since remote node already >> acted upon on receiving the DEL_CLIENT, once again when it receives >> the DEL_SERVER, it returns -ENOENT. >> >> Fixing it by not sending a 'DEL_SERVER' to remote when a 'DEL_CLIENT' >> was sent for that port. > > You use the word "fix" so please add a Fixes tag. > ok >> Signed-off-by: Ram Kumar D >> Signed-off-by: Sricharan R > > Spell out full names, please. ok Regards, Sricharan