Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3813211rwo; Mon, 24 Jul 2023 17:43:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlF9mrXcyo1x79Dr6yLo/4PlfgSpjX4a7XkUNEZ4HLcDuxn2Zp/UuHWFJ91NGTv15s2CoL5x X-Received: by 2002:a17:907:7750:b0:992:a85d:278b with SMTP id kx16-20020a170907775000b00992a85d278bmr9793589ejc.59.1690245821891; Mon, 24 Jul 2023 17:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690245821; cv=none; d=google.com; s=arc-20160816; b=AVVCbN9GNQgVGSXPMFzlBG7k/GbJPmN5dk6T+eDF6Y1FglRoYHr84Y1pd6hZWSencf fv1yerE1oDSu1zNQk4PVfhkanJoXi+gl403aO0oOfpVR0fPi6DxHm/4uLZT58al7O+bv wlDXWEre9B6hRCyu8fYNjuXQkYbbuHJFIFsIg9DXOUFx+7KLiML/RnezLRYAvBLCJot9 Wewnt49+aa44tWuLICTGvOp6Z1JfwordrUrS9vtt47HhzGjX58FEnIZptAIbxnUU2uou CLDZoJ29OXKCVnzcXO8yp9u7b4G2+SmRkAu1jzrC5mVwhPKLj47Ppm9hL/PVrvL7j+ou THDA== 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=HFryqjwtheWeLpeQh7kn1l0vPeBEIz1AnOMF3SEEQjs=; fh=otiA7cf1708Ne/5+b4eARbrTQRy8Exa3mTeoFDchV8k=; b=Xa4VJoS8EJO0ZZqKrVdXfsXM2zO5OhrDQtQuWBqVWLRFAOCpPFS8IA9gRIVwFnB8nz spH7+HdLVIr5TYA/ojTm5GohZdk3FFWW/LEia+0UCahkotflKLBKAVrg4YBZTHONelPc zb5w43DtiXbx/ptnWlpBx83CfHTwp92iXkhfR1R3FoNViTAHcnxbEFa7J3aEWUeiAreL uExV3txvwxviT6pU/+r+GhB0wgeatBfeHhJGUu6ToMypnT1XXlIvyvghdswnI31Ea6lr RUy63+yvh50QlT/KCDa/SVG4febTYX5XBtpVesv5WYIVEnGHqGHrSWjNQ/D6c+n6UMvp FzDw== 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 qt10-20020a170906ecea00b00997ea7d6656si7252350ejb.628.2023.07.24.17.43.17; Mon, 24 Jul 2023 17:43:41 -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 S230236AbjGYAPz (ORCPT + 99 others); Mon, 24 Jul 2023 20:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjGYAPy (ORCPT ); Mon, 24 Jul 2023 20:15:54 -0400 Received: from zg8tmtu5ljg5lje1ms4xmtka.icoremail.net (zg8tmtu5ljg5lje1ms4xmtka.icoremail.net [159.89.151.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 94FAD10C9; Mon, 24 Jul 2023 17:15:51 -0700 (PDT) Received: from linma$zju.edu.cn ( [10.162.208.50] ) by ajax-webmail-mail-app2 (Coremail) ; Tue, 25 Jul 2023 08:15:39 +0800 (GMT+08:00) X-Originating-IP: [10.162.208.50] Date: Tue, 25 Jul 2023 08:15:39 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Jakub Kicinski" Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64 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: <20230724160214.424573ac@kernel.org> References: <20230724014625.4087030-1-linma@zju.edu.cn> <20230724160214.424573ac@kernel.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <63d69a72.e2656.1898a66ca22.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: by_KCgDXV3wrFL9kw2GACg--.42590W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwMHEmS91fkWAgABs1 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 SGVsbG8gSmFrdWIsCgo+ID4gVGhlIG5sYV9mb3JfZWFjaF9uZXN0ZWQgcGFyc2luZyBpbiBmdW5j dGlvbiBtcXByaW9fcGFyc2VfbmxhdHR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