Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4059504rwo; Mon, 24 Jul 2023 23:14:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWz0IscI4vcl6hJsMjHOSnAJYG47UhAuqMpwYECMEX9Pqa4WhyF2w34Gg1m68R4DmUYDCc X-Received: by 2002:a05:6a00:2451:b0:681:ccc3:3cd9 with SMTP id d17-20020a056a00245100b00681ccc33cd9mr8576459pfj.19.1690265653099; Mon, 24 Jul 2023 23:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690265653; cv=none; d=google.com; s=arc-20160816; b=Z/reHgY3XzI5y2ykhsk8JDzoDe8b8xenLFibsj3ZqyNEN446YNMf5I189lP0rV/8NQ 5UvF82NIvf+szL7/hQCrLSndAQqnv1YMNVbK8hb/70WyPJmk3bhM7Jz9onaz3TEzjx5F kWy4ifXNk0mI8ADmW/vReP8cJfWGdRv2qy7/3782BEgnw4DiM0FLZ+czLp4gB/qAxAiK ix5ys6qTA70ez4frNseuPvlfWsAzBGHdUl9YuuWIp/MJGlpqkr5xOJnEWs1Iox7D7w7T 6ilyQm8tVLUNma8vSSmo+sA+QnYgC26QhPD1VGsqoYHR9j9FAw/c0QvXgch7qJBoSx63 Sc3w== 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=q44CVbyXfxrNHjup8lhQfJM1JrDKe9zvAV4gOH7MtZQ=; fh=5gO8UVnuRceNoALBwOT5YkPDREMmADxU6xYEyf3kINM=; b=Tw8suV+ccndQlSsbQ6v59z0m4tt/E37iSwRgapAe4uwokfHdN59qzX9nv2cZzBUUGk U1HEJ+kpikEm2BGLw08l5C8CJ/DO+ioTSxzTWtWXwUuJ3Nsbuip7ke/zjNANHvDMvX5E 0bJYydZnSQK0FBSinFvRw7JPZ339zd65D9w/YnEaDqMKLvUQUu1GSBEfWQDpEC2SdzvM xzi0HWpg+LG0VqrCIdFEoVIJ8e04v96XvFW+wa6P8HIcbEoRdP5ySyilg6SRPjNYrS6u efBCSpcF/KJURkrTADfRsnXan3ivyE/XvRMGZ+ZVqb9+TpggmFpAId6xCPl8q0Zq7JWW ShpQ== 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 u11-20020a6540cb000000b00553c4551a08si10692654pgp.887.2023.07.24.23.14.00; Mon, 24 Jul 2023 23:14:13 -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 S231217AbjGYFs2 (ORCPT + 99 others); Tue, 25 Jul 2023 01:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231304AbjGYFs1 (ORCPT ); Tue, 25 Jul 2023 01:48:27 -0400 Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [52.237.72.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 49613BC; Mon, 24 Jul 2023 22:48:22 -0700 (PDT) Received: from linma$zju.edu.cn ( [42.120.103.62] ) by ajax-webmail-mail-app4 (Coremail) ; Tue, 25 Jul 2023 13:47:55 +0800 (GMT+08:00) X-Originating-IP: [42.120.103.62] Date: Tue, 25 Jul 2023 13:47:55 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Hangbin Liu" Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, razor@blackwall.org, idosch@nvidia.com, lucien.xin@gmail.com, edwin.peer@broadcom.com, jiri@resnulli.us, md.fahad.iqbal.polash@intel.com, anirudh.venkataramanan@intel.com, jeffrey.t.kirsher@intel.com, neerav.parikh@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length 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: References: <20230725022151.417450-1-linma@zju.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <164730e5.e7cf6.1898b96fb76.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cS_KCgB3fxcLYr9kG2APCg--.50759W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwQHEmS-J3oE-QADsu X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW7Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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 SGVsbG8gSGFuZ2JpbiwKCj4gCj4gSWYgd2UgZ290IGF0dHIgdElGTEFfQlJJREdFX0ZMQUdTIGZp cnN0LCBpdCB3aWxsIGJyZWFrIGhlcmUgYW5kIG5vdCBjaGVjawo+IHRoZSBsYXRlciBJRkxBX0JS SURHRV9NT0RFLgo+IAo+ID4gKwo+ID4gKwkJCWlmIChubGFfdHlwZShhdHRyKSA9PSBJRkxBX0JS SURHRV9NT0RFKSB7Cj4gPiArCQkJCWlmIChubGFfbGVuKGF0dHIpIDwgc2l6ZW9mKHUxNikpCj4g PiArCQkJCQlyZXR1cm4gLUVJTlZBTDsKPiA+ICsJCQl9Cj4gPiAgCQl9Cj4gPiAgCX0KPiAKPiBU aGFua3MKPiBIYW5nYmluCgpZZWFoLCB5b3UgYXJlIHNvb29vIHJpZ2h0LCB3aWxsIGZpeCB0aGlz IEFTQVAKClJlZ2FyZHMKTGluCg==