Linux kernel source tree
Find a file
Florian Westphal ea1300b9df mptcp: don't return sockets in foreign netns
mptcp_token_get_sock() may return a mptcp socket that is in
a different net namespace than the socket that received the token value.

The mptcp syncookie code path had an explicit check for this,
this moves the test into mptcp_token_get_sock() function.

Eventually token.c should be converted to pernet storage, but
such change is not suitable for net tree.

Fixes: 2c5ebd001d ("mptcp: refactor token container")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-24 10:51:36 +01:00
arch Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
block
certs
crypto
Documentation Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
drivers Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
fs Critical bug fixes: 2021-09-22 09:21:02 -07:00
include Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
init init: Revert accidental changes to print irqs_disabled() 2021-09-22 13:02:30 -07:00
ipc
kernel A single fix for the perf core where a value read with READ_ONCE() was 2021-09-19 13:22:40 -07:00
lib Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
LICENSES
mm memcg: flush lruvec stats in the refault 2021-09-23 10:09:13 -07:00
net mptcp: don't return sockets in foreign netns 2021-09-24 10:51:36 +01:00
samples
scripts Kbuild fixes for v5.15 2021-09-19 12:55:12 -07:00
security
sound
tools Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Networking fixes for 5.15-rc3. 2021-09-23 10:30:31 -07:00
Makefile Linux 5.15-rc2 2021-09-19 17:28:22 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

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.