tun: Do SIOCGSKNS out of rtnl_lock()
commitf663706a33ce32df69a2b3e85a80cb5a690f2234
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 8 May 2018 16:21:34 +0000 (8 19:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 19:16:49 +0000 (10 15:16 -0400)
treeb567633555010c51bbf57319d0f925b3533691f0
parent508c461c63ce1c070a93520492232616ff8166d1
tun: Do SIOCGSKNS out of rtnl_lock()

Since net ns of tun device is assigned on the device creation,
and it never changes, we do not need to use any lock to get it
from alive tun.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c