From: Kirill Tkhai
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
Also applied to net-next, thanks.
idr_find() is safe under rcu_read_lock() and
maybe_get_net() guarantees that net is alive.
Signed-off-by: Kirill Tkhai
---
net/core/net_namespace.c |2 --
1 file changed, 2 deletions(-)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 3c77d84ad60d..1ccb953b3b09 100644