Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5452660rwb; Mon, 8 Aug 2022 20:15:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR7P1yYNVXNXUIkO0GFGmHASidIxIQXODVomnp1ulGV/4PY/ZAHqheRMxe1BCHu1srfXHqEq X-Received: by 2002:a17:906:98c8:b0:730:7ada:87a7 with SMTP id zd8-20020a17090698c800b007307ada87a7mr16324682ejb.748.1660014943151; Mon, 08 Aug 2022 20:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660014943; cv=none; d=google.com; s=arc-20160816; b=uzVjIIgOtWsFi3G80gDyX4eNHaHfTym+N93MpYVLgmv5e6AR+BIQXSUuEX78RTEsSv SCXYVW9dNJTmjla2zMG9q9LLOo+LsZGoI3xo+iNMWqOPgY8U+kIDcPEWOjvnXkRQvbRL 504dtUzvBzCPV4iup6ypR9xpu7ddcvaDI1KLDXr7GUXRRZoDc8sm5ic5Ku2oO9IXEnoZ c0g0Klb+0dDPeTqP8rKuVbusQJGuow78+YWddfRETAsuOGhqMsrn/guMqhsYJXVa4WqD rsvJfoiEgLsl5BZsBvq7k02tk7Rv+fX4c7IkKnFNOSOcUTqfAXXSdKdHERqHwhW9F0Ef bMDg== 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=Y1dE8j+gC32WKXcV084WqIbbpvWCHhrpELe6kOGKqyE=; b=mgsz2JjE6vLbgjGyRbbeZUu6ZRvQZNamdu3N4OCEuxOAm5vt7EDnuYEydgosMVWgZp w63IL4f1G/Oke9zAtAtEN3aLj5b3EsfJH8W2nxHwOXgMyv6NQ4DDac14r9bmUcR2PIAP v+nQtt9ic+kWFajPIXViTCJPQXZtynEGo6NxM07q64kRLwDaE48sA5XwBK//XhT1iNF3 vHYuD9CwrFqHAD6VRYizlWtS0OJyrPGEXi/jnkW1kdlG5IkCIwwb/4U9bs0FeNb1nnWe 6a3eGwoW0VjhgVj19AQ9DhIPwIoiNnE7qvoKdPGUCh+yoNJwQdPqjBhVhVYBuuFepd8Z Qx4Q== 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 s4-20020a056402036400b0043d8ed5f039si6726776edw.598.2022.08.08.20.15.14; Mon, 08 Aug 2022 20:15:43 -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 S232168AbiHIDFv (ORCPT + 99 others); Mon, 8 Aug 2022 23:05:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbiHIDFt (ORCPT ); Mon, 8 Aug 2022 23:05:49 -0400 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 76ABE1C13F; Mon, 8 Aug 2022 20:05:46 -0700 (PDT) Received: by ajax-webmail-mail-app3 (Coremail) ; Tue, 9 Aug 2022 11:05:19 +0800 (GMT+08:00) X-Originating-IP: [222.205.1.5] Date: Tue, 9 Aug 2022 11:05:19 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Jakub Kicinski" Cc: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v0] idb: Add rtnl_lock to avoid data race X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2022 www.mailtech.cn zju.edu.cn In-Reply-To: <20220808115511.5b574db2@kernel.org> References: <20220808081050.25229-1-linma@zju.edu.cn> <20220808115511.5b574db2@kernel.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <35502986.7352e.18280905841.Coremail.linma@zju.edu.cn> X-Coremail-Locale: en_US X-CM-TRANSID: cC_KCgC3vQzwzvFiBWTEAg--.39254W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwQCElNG3Hi-jgBBsW X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 SGVsbG8gdGhlcmUsCgo+IAo+IFdoYXQgYWJvdXQgdGhlIGRpc2FibGUgcGF0aCBjb21pbmcgZnJv bSBzeXNmcz8gVGhpcyBsb29rcyBpbmNvbXBsZXRlIHRvCj4gbWUuIFBlcmhhcHMgdGFrZSBhIGxv b2sgYXQgY29tbWl0IDFlNTM4MzRjZTU0MSAoIml4Z2JlOiBBZGQgbG9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