Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1864587rbb; Tue, 27 Feb 2024 03:55:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVJS1IoGBXaVv4NYadVbMDkaGgEo+6x8yZtqfo7pMiUsXOhaNiY/Gsx6TYKtdIfiq5rmItPuTNxyi9x7F45O8wsM6vucsLrgOSwljtSmg== X-Google-Smtp-Source: AGHT+IGyc3hN0t1SINtVqc6DpG3fQaieBew9SQxC61pyoNZKG/E0founvJSF0ixn1Mjw2Eg91PbU X-Received: by 2002:a05:6402:31bb:b0:566:28ae:55d4 with SMTP id dj27-20020a05640231bb00b0056628ae55d4mr1804650edb.39.1709034900397; Tue, 27 Feb 2024 03:55:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709034900; cv=pass; d=google.com; s=arc-20160816; b=jhYgjfe4HwCzq2Po0lwkzpGa+lR55HdF5zdVapTaP/Hfy2FSG3qYtDIlaLprV/wEh7 qJ03iIoyB0b3LbLXS4qp3tX2sntgVzner5lQ6y1Stmrew6uXpHbB9OQV1lwoTV+3Uz5z LH0zgcGp23+3WwTbM5gO0SUZCmq8OiS1FN1Aq8ZYLk1+SLJjS9SV/2EYaVHzydJSRqZt gHRFY8JXFD5DqhvLyKCQ9sbWR+UReTeM+exCUqyTy1uvxRUKCRImUoJxowX6hB8ObxKK hiITVHcnEj36IZzdBQnwOBpp0bO4qR/FsjPobUCmyXGTOwdakvLe9+cnjJGhTSUJUd6f PklA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date; bh=7XOPgjZ67GCgom1T1coaAyfLK3kXdhZf7Oi8sNkqXoA=; fh=5Fxr/iGpeaFKdwTQITZEouXYVU9mcQcxLHJLv2LCAzg=; b=J0UceUDXqw0vEcfFJfqKHdFEGCLdvrVxbtKbPAWMq1V/ej33HMRogfA808YbgrKtww aG7D9x/Jo8mFHuuVwBLXjVw2VRkcL/VxeNNUHR+9ouVFAulWlnw1Dd1fxGJCZT1cCXv8 oD82pD3JfQmoSmxEv4aUmAYfpmy/sMedKOFetKPJpFD7BNns5/gfsxlt70Cnksxrrjmi 8waZdh5cquv9iOrJGdJzJSGTJh3lgnmVeOlfxdTgU1aAaX0W/j8uZFJtr2neRDL00ZM3 SkEZOVb6Ucc/ouCtaeVX0P8o1xRk/n1xpq2B1T7DIOGXO/RME4xVRjDHdogFvbnG39qx whVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-83148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83148-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h5-20020aa7c945000000b0056403f952f5si625195edt.577.2024.02.27.03.55.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 03:55:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-83148-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83148-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2C8DD1F29BAA for ; Tue, 27 Feb 2024 11:55:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9841B13A87C; Tue, 27 Feb 2024 11:54:44 +0000 (UTC) Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.231.56.155]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F290F13A255; Tue, 27 Feb 2024 11:54:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=20.231.56.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709034884; cv=none; b=MkusjPqpQ83Nz22zMAV1QjbNLFU8dsuDozr+cLxif0OH56bOGj3U11mi+KqlPlUX7Xv0cM/Pz6LwtLCMmFKPexd4xYGWh/ARMw+fukCDaHImHXuRqqOjVnYwikFdde/bqCJxbg8ImH5G6LwGnmAtNBWA68s7j1ww+QERH7y5Eoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709034884; c=relaxed/simple; bh=7XOPgjZ67GCgom1T1coaAyfLK3kXdhZf7Oi8sNkqXoA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=ofYloWeRymUIgSeq7k2cdzmwYSf8gIy5PD/wQBfXXiufZHZhcmHJARpRr9S0koYmxo5svybzCrlMSeuqoUIsgl+4YDAowgnNJcHMEUi04CpyfY9Lmr3fWMULE3Eu8XAZHsSGUfnMG5ldtL3VESCcSkZszF+ygFKvlb/VvimMTdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn; spf=pass smtp.mailfrom=zju.edu.cn; arc=none smtp.client-ip=20.231.56.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zju.edu.cn Received: from linma$zju.edu.cn ( [42.120.103.50] ) by ajax-webmail-mail-app3 (Coremail) ; Tue, 27 Feb 2024 19:54:16 +0800 (GMT+08:00) Date: Tue, 27 Feb 2024 19:54:16 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Nikolay Aleksandrov" Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, idosch@nvidia.com, jiri@resnulli.us, lucien.xin@gmail.com, edwin.peer@broadcom.com, amcohen@nvidia.com, pctammela@mojatatu.com, liuhangbin@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v1] rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.4-cmXT5 build 20231205(37e20f0e) Copyright (c) 2002-2024 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <2e8c704f-e6a6-40b8-8d4b-7c3a987c4839@blackwall.org> References: <20240227110113.573334-1-linma@zju.edu.cn> <2e8c704f-e6a6-40b8-8d4b-7c3a987c4839@blackwall.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <302ac4d7.207e.18dea6a6103.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:cC_KCgC3LThpzd1lOlKhAQ--.39703W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwUSEmXWRlIBugAQsK X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= SGVsbG8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