Merge branch 'socket-lookup-cg_sock'
Alexei Starovoitov authored
Andrey Ignatov says:

====================
This patch set makes bpf_sk_lookup_tcp, bpf_sk_lookup_udp and
bpf_sk_release helpers available in programs of type
BPF_PROG_TYPE_CGROUP_SOCK_ADDR.

Patch 1 is a fix for bpf_sk_lookup_udp that was already merged to bpf
(stable) tree. Here it's prerequisite for patch 3.

Patch 2 is the main patch in the set, it makes the helpers available for
BPF_PROG_TYPE_CGROUP_SOCK_ADDR and provides more details about use-case.

Patch 3 adds selftest for new functionality.

v1->v2:
- remove "Split bpf_sk_lookup" patch since it was already split by:
  commit c8123ead

 ("bpf: Extend the sk_lookup() helper to XDP
  hookpoint.");
- avoid unnecessary bpf_sock_addr_sk_lookup function.
====================
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
ae9435f6
Name Last commit Last update
Documentation Merge tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs
LICENSES Merge tag 'docs-4.20' of git://git.lwn.net/linux
arch Merge branch 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm
block Merge tag 'for-linus-20181102' of git://git.kernel.dk/linux-block
certs export.h: remove VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR()
crypto KEYS: asym_tpm: Add support for the sign operation [ver #2]
drivers bpf: Remove unused variable in nsim_bpf
firmware kbuild: remove all dummy assignments to obj-
fs Merge tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs
include bpf: Allow narrow loads with offset > 0
init memblock: stop using implicit alignment to SMP_CACHE_BYTES
ipc ipc: IPCMNI limit check for semmni
kernel bpf: Allow narrow loads with offset > 0
lib Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
mm memory_hotplug: cond_resched in __remove_pages
net bpf: Support socket lookup in CGROUP_SOCK_ADDR progs
samples bpf_load: add map name to load_maps error message
scripts Merge tag 'kbuild-v4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
security Merge tag 'apparmor-pr-2018-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
sound Merge tag 'sound-fix-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools selftest/bpf: Use bpf_sk_lookup_{tcp, udp} in test_sock_addr
usr initramfs: move gen_initramfs_list.sh from scripts/ to usr/
virt Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks"
.clang-format page cache: Convert find_get_pages_contig to XArray
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.