]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f638438e8e49484d5447e6f42c794af993896a6
treea3b9bf7649435c8f1c5e6b4fcfd465938ff7d395
parent26c439f01704eb127727ba5a73a5ccf2de3348f2
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