mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
508c461c63
commit
f663706a33
1 changed files with 7 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue