net: Remove spinlock from get_net_ns_by_id()
Kirill Tkhai authored

idr_find() is safe under rcu_read_lock() and
maybe_get_net() guarantees that net is alive.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
42157277
Name Last commit Last update
Documentation Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
arch Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
block block: drain queue before waiting for q_usage_counter becoming zero
certs License cleanup: add SPDX GPL-2.0 license identifier to files with no license
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
drivers tun: allow to attach ebpf socket filter
firmware kbuild: remove all dummy assignments to obj-
fs error-injection: Add injectable error types
include tun: allow to attach ebpf socket filter
init Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
ipc Rename superblock flags (MS_xyz -> SB_xyz)
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
lib error-injection: Support fault injection framework
mm kmemleak: allow to coexist with fault injection
net net: Remove spinlock from get_net_ns_by_id()
samples samples/bpf: Fix trailing semicolon
scripts Merge tag 'kbuild-fixes-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
security Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
sound ALSA: seq: Make ioctls race-free
tools Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
usr initramfs: fix initramfs rebuilds w/ compression after disabling
virt Merge tag 'kvm-arm-fixes-for-v4.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.