commit | f663706a33ce32df69a2b3e85a80cb5a690f2234 | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Tue May 08 19:21:34 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 15:16:49 2018 -0400 |
tree | b567633555010c51bbf57319d0f925b3533691f0 | |
parent | 508c461c63ce1c070a93520492232616ff8166d1 [diff] |
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>