Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1258183rwb; Wed, 26 Jul 2023 09:43:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCPiCx25EZqFmGXK4FuXmlYcNpmB5S0doBEPPZeHhLW9zWTDFYoIC6OrSNGi/s76WHUhL3 X-Received: by 2002:a17:90a:1017:b0:268:325e:ee1a with SMTP id b23-20020a17090a101700b00268325eee1amr1833783pja.27.1690389809230; Wed, 26 Jul 2023 09:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690389809; cv=none; d=google.com; s=arc-20160816; b=KcckQu5G+fUpuJiN77k9klXB/cA9EJr3KCuex2gurUsFhJSWTXWvyWfhFpx0Oi7cfF /uiyJpagb4mwa5qJObcLW/vWanh3e/NlHcFdPKOJHeCrt0m+O30N1Xo112HW+cDUb9Xn S9Um+RV0EnE0rZ3tkazTYr89LT5K1gC4DvZ9erbeRXMO8PEsKgrvF7forYjzOahBViEM nKGJHMGjS8JwEGwSNFuOyXqt+QfERUIZdvk/6Q5SA87FtGzwiS7bZK9ZTuMByRuZj++5 4DZedOdfilXwubLbyQ0mDIn9ljDxOccutTB40u3NlOEfKfma2rKtWt3cwxsZJinNoIBe dXGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=t+0Z1DBzFCCXNAs9M9vSfX12/Kut1YeUj+Bnu32225M=; fh=xxom4V/c8zWSvTg7rb1b5T4CwZsb2TKjuErdWSUolW8=; b=AY1RMVdeNe3N/HtY7CBf9RFVDv+nZch8nCFERKaVxRTJi5JVq2+2fAic31d03zeEIM CylOZkUOh5VRoFejPbkG7mO4dBVWwiou9qYwieNNnWUgB1zXYwnIJIAWAFRgPSN9m4AZ Dw5+EWLwyz5gck5+AkSK4ZngITODZnGvZK0w/YhQ6vjoLo6Nj2PLO9D94hrjak4Pzfjz S1sX9wZlC/qVYA9J1AIL1PKBRPdfeb3vAC9aIq1GLZjvAt6obCb6gTz3bfOse2vKquMj mJI4hWjTUCqAZQ88egTsuaMsFrW76ghXogWDtB4aq2mpHHgt7z+WBtsSrbFBVxtjYMGG PoXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RpnOLYop; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kp12-20020a170903280c00b001bba953ac2esi5462412plb.339.2023.07.26.09.43.16; Wed, 26 Jul 2023 09:43:29 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RpnOLYop; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234903AbjGZPoZ (ORCPT + 99 others); Wed, 26 Jul 2023 11:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbjGZPoY (ORCPT ); Wed, 26 Jul 2023 11:44:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E22071BE3 for ; Wed, 26 Jul 2023 08:44:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 80EBD61B8E for ; Wed, 26 Jul 2023 15:44:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69E63C433C7; Wed, 26 Jul 2023 15:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690386261; bh=JvjAqNzSw7RGl03zCiiOwwXJFn3DlYoUHXuh6xzWd/A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RpnOLYopyCZ49Ky3mG+aQnjQTsvSLTvOebr6AWgESRleqJjr2YDmT15izsvi7NN2k 2JiLzaEaUretzBaAkWwQ09n/P/kyu1qyg6jQvkZYOsbqq9w31zB9qgSodlCmwk3ntv XOTwMfXCdayMBeFGyWGbJYYcTPhicnARanwRTlrXlvEV+rdB/ZdcpAZkYZyvXFnA6H pFQQq8ChSFzdT9BfgQKUUKSvBhOt0yVkiqfcjWRdY+AtewiXxs1uT0zzxlsmQCPy+a WNuo+mcEY3VR2dUZvzrXq538ky6g35z4ymRVa66yfsBbM+COr1BU5q+DcsXskykD3/ FBZBIbeRprDSQ== Date: Wed, 26 Jul 2023 08:44:20 -0700 From: Jakub Kicinski To: "Lin Ma" Cc: "Nikolay Aleksandrov" , davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, idosch@nvidia.com, lucien.xin@gmail.com, liuhangbin@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 v2] rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length Message-ID: <20230726084420.1bf95ef9@kernel.org> In-Reply-To: <7670876b.ea0b8.189912c3a92.Coremail.linma@zju.edu.cn> References: <20230725055706.498774-1-linma@zju.edu.cn> <6a177bb3-0ee4-f453-695b-d9bdd441aa2c@blackwall.org> <7670876b.ea0b8.189912c3a92.Coremail.linma@zju.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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 On Wed, 26 Jul 2023 15:49:02 +0800 (GMT+08:00) Lin Ma wrote: > Cool, I agree with Hangbin that another patch which removes the redundant > checks in driver is needed. > > But I have a simple question. I will send this patch to net one and another > to net-next one. How can I ensure the latter one depends on the former one? > Or should I send a patch series to net-next that contains the former one :) > (I currently choose the method 2 and please let me know if I do this wrong) You'll need to wait for the patch to propagate before posting. Our trees merge each Thursday, so if you post on Friday the fix should be in net-next.