Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3801925rwo; Mon, 24 Jul 2023 17:30:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlEoggg5W8m1OsPnJbg8eH0zD9bwAiHPQleoLQ4N5DgP/eFHrKHFPoqIbwEH1r0E9iOqc3jq X-Received: by 2002:a17:902:ed02:b0:1bb:b226:52b1 with SMTP id b2-20020a170902ed0200b001bbb22652b1mr1929174pld.17.1690245008312; Mon, 24 Jul 2023 17:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690245008; cv=none; d=google.com; s=arc-20160816; b=roTfrtx8+Wq+E377IIqMgMs9MeeoKWe7ofSQhvhxhtyCXMA+ej+GDfq/EsA2gSQaKw kdaKUiyYwGQiNVmDCUjGpnw3Jmr4fDVbahThYc3HBcUruHg7Cxr2hEzFbI4ZtV9+iYub Nhvbnh67Qg0g0egbsV/KqBCDvGJrFBxmVoyjtU3vr8QHvqOC60jeF1AmOL6T+WGDM+Uc jXyRFeSuT7JICVZrcqjGSSxQBIGGmpi6TUeKzxgONV7p6vSpNcWZMYulfY4+IthlTYP5 wYoIM2eu65/DFDM30p0wZiEuvB9f//F1pTSBsTmkpm4nJXmRxBRvvUpXWVv+wfjtU+nd 5y8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=UHMiejLYy7ICbSC9Whko//nm+2yylAxBojiwujyEQbI=; fh=9wePjhItyEpkQDJvHjnSeVBO1vU1jBwQ83lct0UinvQ=; b=DVBixvfw9Y+ITMWgsSGdaom6ZsTWYPgrp8sPbtLbA/7LwSjiKHJsTRa15PUpQjBlAI X4h0UDmLyxtVmaJYFRQ6NjN8M78OkJA2ufyhSvYqR+7p9Es14/0xWkeUcQ8PwmAeBW2J c8dVJgGHo6lp5DGVY8lPrYgZqYUyIEif2svrsOnY7COU5G15Sgj24sM+EXCvPVbDsA26 CMyKQ6lmPATtl707Y8NgJtp9cAJ9BjWLKD+rJPtGsavGTARiWC8iA/h/pcXUbLwsUrKX 82L4JdOfBs00Q+3ZIZbYyt+8vprZHmxaPvf+ys6BkJUk77zVbzhLjm2TgNM7x2KcXmzb 3m3A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a170902680700b001b1a2c14a48si2023213plk.141.2023.07.24.17.29.54; Mon, 24 Jul 2023 17:30:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjGYAML (ORCPT + 99 others); Mon, 24 Jul 2023 20:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjGYAMK (ORCPT ); Mon, 24 Jul 2023 20:12:10 -0400 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 407AF171E for ; Mon, 24 Jul 2023 17:12:07 -0700 (PDT) Received: from linma$zju.edu.cn ( [10.162.208.50] ) by ajax-webmail-mail-app2 (Coremail) ; Tue, 25 Jul 2023 08:11:58 +0800 (GMT+08:00) X-Originating-IP: [10.162.208.50] Date: Tue, 25 Jul 2023 08:11:58 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Leon Romanovsky" Cc: jgg@ziepe.ca, markzhang@nvidia.com, michaelgur@nvidia.com, ohartoov@nvidia.com, chenzhongjin@huawei.com, yuancan@huawei.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] RDMA/nldev: Add length check for IFLA_BOND_ARP_IP_TARGET parsing X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220622(41e5976f) Copyright (c) 2002-2023 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <20230724174707.GB11388@unreal> References: <20230723074504.3706691-1-linma@zju.edu.cn> <20230724174707.GB11388@unreal> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <3c0760b5.e264b.1898a6368f8.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: by_KCgCnzn1OE79kV1OACg--.41726W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwIHEmS91fkV-gABsL X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 SGVsbG8gTGVvbiwKCj4gCj4gT24gU3VuLCBKdWwgMjMsIDIwMjMgYXQgMDM6NDU6MDRQTSArMDgw MCwgTGluIE1hIHdyb3RlOgo+ID4gVGhlIG5sYV9mb3JfZWFjaF9uZXN0ZWQgcGFyc2luZy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