net: call newid/getid without rtnl mutex held
authorFlorian Westphal <fw@strlen.de>
Wed, 9 Aug 2017 18:41:53 +0000 (20:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 23:57:38 +0000 (16:57 -0700)
commit165b9117256c5432bf241fdf4637487e4af68cc8
treea3b9bf7649435c8f1c5e6b4fcfd465938ff7d395
parent62256f98f244fbb1c7a10465e1ee412f209d8978
net: call newid/getid without rtnl mutex held

Both functions take nsid_lock and don't rely on rtnl lock.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c