aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-01-16 12:31:54 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-17 15:42:35 -0500
commit42157277af17d5c05946c700eb03877d60760d3c (patch)
treee40d3af152a62455f84d43235b6a5132694ae8b9 /include/net/vxlan.h
parentnet: Fix possible race in peernet2id_alloc() (diff)
downloadlinux-dev-42157277af17d5c05946c700eb03877d60760d3c.tar.xz
linux-dev-42157277af17d5c05946c700eb03877d60760d3c.zip
net: Remove spinlock from get_net_ns_by_id()
idr_find() is safe under rcu_read_lock() and maybe_get_net() guarantees that net is alive. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
0 files changed, 0 insertions, 0 deletions