From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C34E1E48A for ; Sun, 5 May 2024 14:54:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714920867; cv=none; b=Jh1gZ3ywNoXR3EZLdV2zKog3i2+yf5bXau8G4HIMslfsyxDre+kV3Wt+rtuU5cWxZKKi3lBtrxZOa6NA2cMIfQwc/nkcXgxyiAN5U3kFILa5JgUgSLj6Eau/fxtwI2Faf81l4q/B1OOc6DHToQiq/gecI7KU2PURV3jR7/S3RfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714920867; c=relaxed/simple; bh=FBBDxXnBj+N7D8Ug9psXLJ+Tww4W+KQP2bE96yR+kd4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oRwn7+YA0d/eauHMrGcUEotiYdPwGW65pgETdNxnhuclt3Dh0kWvFvIkn5KNCxYeoIIwoWB9CCjdIxdccHytO9kTAKuOuIchP2UVs40+ACAzDK/l7p0kxmCDsoDY0HrS+uGKbJpxpcde0OOztR4uPpvDnqsOGRp/BUgacVIMLMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Pz9pExyL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Pz9pExyL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EEE0C113CC; Sun, 5 May 2024 14:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714920867; bh=FBBDxXnBj+N7D8Ug9psXLJ+Tww4W+KQP2bE96yR+kd4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pz9pExyLAhK0Xuz4R7i9IeTWixnuNkyQ9YEBWnPY450TEip7mkIjaK7CDOGCWq3es 7/fUe4G46wmv8zQ13ahLEBOU5JohX3NVcsk3OBNzH0iiSENv5f7Su7+1Lbe23VPzo6 phhZvGvCOUItMEMOFQcTwnSndSUHpORnX9VEexxHMzVjgtAZyrtnxzWQcVAtT0wT3q ZBmzd9FtgI1pCUnuCPa6cE7leDBPz6erRRlW1ubhDuUEgFmQK5khMWNCCwCicYIj4r coGgUsCG4jpjQQOjdWOCZmuuisIBzW1BXIuvggKMe3x01jTdYmhWY2/5QZJG/Mf0gM qhvDPPc5zPrJw== Date: Sun, 5 May 2024 15:54:23 +0100 From: Simon Horman To: Eric Dumazet Cc: "David S . Miller" , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [PATCH net-next 8/8] rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection Message-ID: <20240505145423.GG67882@kernel.org> References: <20240503192059.3884225-1-edumazet@google.com> <20240503192059.3884225-9-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240503192059.3884225-9-edumazet@google.com> On Fri, May 03, 2024 at 07:20:59PM +0000, Eric Dumazet wrote: > We want to be able to run rtnl_fill_ifinfo() under RCU protection > instead of RTNL in the future. > > All rtnl_link_ops->get_link_net() methods already using dev_net() > are ready. I added READ_ONCE() annotations on others. > > Signed-off-by: Eric Dumazet Reviewed-by: Simon Horman