Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3863186rwo; Mon, 24 Jul 2023 18:48:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlFA4ZfAJ/opZHztP1s4XxqKLe9TpIpIxJTbI35SIQUHA/pc8UDiT+jPi9mKn/oIWonzLGS0 X-Received: by 2002:a05:6e02:1785:b0:345:a818:ed3b with SMTP id y5-20020a056e02178500b00345a818ed3bmr1956878ilu.7.1690249702017; Mon, 24 Jul 2023 18:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690249701; cv=none; d=google.com; s=arc-20160816; b=fZL0ixx0nZdDxLfsPU8EPfJnn3OSX3ZolNurbvXeS1nqnIo8CniQYe+MwZH0fj6eZw d11uAig/qYx/ni9Xm2x//RlIGmsKS+fPm060sbdZ8svsQsVezIDyoOCx6hVNBsPKOVhY avdWkViUSkeetvsj+U2nCR89pUk5TkUyoYHltEv2x9GC7GfP29mp4J7tneDIRCOTfHnc chSYHXzS0dzWI3dPGhNX0nJ6Zrb1JGO1aGU8c0uTtRNokPmVAVZvmClmI3iAeLlQIOZg 3COGAF0Omh/kBvDM95bHn9uwt2fKUGJ9pAE+mm9w51qhZgj4ewEtLESZZAV/xdxAt2sQ zu5A== 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=bqZ6w9z9kgGB0N+CX7vQo4KOHGRJb1Uq0+dNeFz9fV4=; fh=jo/jgSbdGpPyr8SSV63Xo1fAsnyVSykyOc8ifenNtXI=; b=c7Bsh5tBlRSrZlAobgOaeS5XTO3aoAE8Vm5Fi03txlhns4F++zuKZg6ZT8VBwIabtE izbFFgu+j6e1wgoY7t8qdzqYMu1xtF7a4lg2Y3YQhEFXUdrU6BqqnJvscjBffVXeaJRH CwS5rLPuXmYGaK+wsu/k1+g3U7OT8Lm1Xvlqrd3XpsjQA8jZ9PIol3E9GivSWDzzRyB4 jVSbt/e3Z1MhuhcI/HlHGDneh1x/+wlqhYhYNmIJ5tGe6sYO6ScMm3SBEi/9TJEuVoIW T1GQx66cwsucpgCuiVf3v3jxeHFtyLKrxSjTrczupIE8LD5xt2nYdVC6q9rv9QwQuDsc bWAg== 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 q21-20020a656a95000000b0054ff0e193fesi10800768pgu.225.2023.07.24.18.48.07; Mon, 24 Jul 2023 18:48:21 -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 S229573AbjGYBdk (ORCPT + 99 others); Mon, 24 Jul 2023 21:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjGYBdj (ORCPT ); Mon, 24 Jul 2023 21:33:39 -0400 X-Greylist: delayed 5541 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Jul 2023 18:33:36 PDT Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.231.56.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8B7F0170E; Mon, 24 Jul 2023 18:33:36 -0700 (PDT) Received: from linma$zju.edu.cn ( [42.120.103.62] ) by ajax-webmail-mail-app2 (Coremail) ; Tue, 25 Jul 2023 09:33:12 +0800 (GMT+08:00) X-Originating-IP: [42.120.103.62] Date: Tue, 25 Jul 2023 09:33:12 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Jakub Kicinski" Cc: "Joe Perches" , 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: <20230724175612.0649ef67@kernel.org> References: <20230724014625.4087030-1-linma@zju.edu.cn> <20230724160214.424573ac@kernel.org> <63d69a72.e2656.1898a66ca22.Coremail.linma@zju.edu.cn> <20230724175612.0649ef67@kernel.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <150f7e19.e27f3.1898aadc871.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: by_KCgDn74tZJr9kNXyBCg--.39653W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwMHEmS91fkWAgADs3 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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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