[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180117.154316.1028937432353916551.davem@davemloft.net>
Date: Wed, 17 Jan 2018 15:43:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ktkhai@...tuozzo.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
ebiederm@...ssion.com
Subject: Re: [PATCH v3 2/2] net: Remove spinlock from get_net_ns_by_id()
From: Kirill Tkhai <ktkhai@...tuozzo.com>
Date: Tue, 16 Jan 2018 12:31:54 +0300
> idr_find() is safe under rcu_read_lock() and
> maybe_get_net() guarantees that net is alive.
>
> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
Also applied to net-next, thanks.
Powered by blists - more mailing lists