commit | 42157277af17d5c05946c700eb03877d60760d3c | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Tue Jan 16 12:31:54 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 17 15:42:35 2018 -0500 |
tree | e40d3af152a62455f84d43235b6a5132694ae8b9 | |
parent | 0c06bea919f3289368a023d1a62a1bc319617fa3 [diff] |
net: Remove spinlock from get_net_ns_by_id() idr_find() is safe under rcu_read_lock() and maybe_get_net() guarantees that net is alive. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>