Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5388184rdb; Sat, 30 Dec 2023 21:28:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGORPiBGB98YjOHeY18d6Hb1dbuh1MA1wrgYLuuUaq2QNzAlHI3HAHx+c75W9V7l8iCJRGX X-Received: by 2002:ac2:4890:0:b0:50e:262d:4834 with SMTP id x16-20020ac24890000000b0050e262d4834mr5724403lfc.135.1704000511114; Sat, 30 Dec 2023 21:28:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704000511; cv=none; d=google.com; s=arc-20160816; b=w0OI7Mw4Cz9FuM42IVlY3GsGXEuDVqqAcT+k7+ynxDPxIP1MO18e9DrMAHZkhIv+cB aXLCw36kmWXqvibhI8Yuvm2lnBZRzUGRAcWLHgFuR4WlCeh320zJVCrNZcQv8kFnKoVR SvWs8U0kAWAlIW/piWwc84MQjn8kfsVQQXj3QOd3i/vuWituMse01P09KSuIbnhIytBT n+c30RL1xn5tdV75TkXE8JWoKu2xaRJ/Ea5wDiZqv7XN090cOt5L4dgehgMggHcSKRUD /bx4CktngKf45h5yNEKDJpH5Yi2ZzXHnifjpPHQUpW1J6BIkFdh6rtsy+qkklPN4uG0V Zjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date; bh=drZcPHTfefjVQRkFmruLnHWTpWf3yO9PgNx1wc8Y8p4=; fh=Onf53fcWxJW/WxAN3xXnQsZM1LzKC60wfgbKbH+Q0UY=; b=vqUKpiIXXvQpchhICKODfghkwt93XOEVRF3AXL1Q+Td4Ntke7VtAHvz+GQoeW3RNmE fWDMqq+aY0BVZVTMGRDlcDzT06PCU29UwODJZmyrfq/RNNqAMW7TgiW4nl2cl4UjiGEv Sp0zG9T24gPxH4w64q5vu6c8ZZdP3QGqE0TVwHvb8zMTzQpkxRWpKU8P3aNaNEGhT2WF dKBCPstu93lI7KLps8TG0Cc6J/2Ys3YyJ+lcBRlA1y1vABAO/1mPcvagjhAmtR5WmlgS 4ZDLL+gpQxf+vuR/7AeFkDTVgu76n2P7QdB+/jYL2NFNdUL4KosOUYWvHve7/xOkcx5Z B0Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13637-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cf26-20020a170906b2da00b00a26ef1e6e22si5513184ejb.767.2023.12.30.21.28.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 21:28:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13637-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13637-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D681B1F21F97 for ; Sun, 31 Dec 2023 05:28:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DEEB185D; Sun, 31 Dec 2023 05:28:21 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from zju.edu.cn (mail.zju.edu.cn [61.164.42.155]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76E4E139D; Sun, 31 Dec 2023 05:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zju.edu.cn Received: from linma$zju.edu.cn ( [10.192.23.73] ) by ajax-webmail-mail-app3 (Coremail) ; Sun, 31 Dec 2023 13:27:59 +0800 (GMT+08:00) Date: Sun, 31 Dec 2023 13:27:59 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Leon Romanovsky" Cc: jgg@ziepe.ca, gustavoars@kernel.org, bvanassche@acm.org, markzhang@nvidia.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] RDMA/sa_query: use validate not parser in ib_nl_is_good_resolve_resp X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.2-cmXT5 build 20230825(e13b6a3b) Copyright (c) 2002-2023 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <20231230154422.GB6849@unreal> References: <20231230051956.82499-1-linma@zju.edu.cn> <20231230154422.GB6849@unreal> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <7d95dbb5.63777.18cbe57e107.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:cC_KCgB37o3f+5Blea+pAQ--.50048W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/ X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= SGVsbG8gTGVvbiwKCj4gPiBUaGU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