No description
Find a file
Lawrence Brakmo d44874910a bpf: Add BPF_SOCK_OPS_STATE_CB
Adds support for calling sock_ops BPF program when there is a TCP state
change. Two arguments are used; one for the old state and another for
the new state.

There is a new enum in include/uapi/linux/bpf.h that exports the TCP
states that prepends BPF_ to the current TCP state names. If it is ever
necessary to change the internal TCP state values (other than adding
more to the end), then it will become necessary to convert from the
internal TCP state value to the BPF value before calling the BPF
sock_ops function. There are a set of compile checks added in tcp.c
to detect if the internal and BPF values differ so we can make the
necessary fixes.

New op: BPF_SOCK_OPS_STATE_CB.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-01-25 16:41:15 -08:00
arch
block
certs
crypto
Documentation bpf, doc: Correct one wrong value in "Register value tracking" 2018-01-24 16:43:11 +01:00
drivers net: aquantia: make symbol hw_atl_boards static 2018-01-23 10:59:42 -05:00
firmware
fs
include bpf: Add BPF_SOCK_OPS_STATE_CB 2018-01-25 16:41:15 -08:00
init
ipc
kernel bpf: fix incorrect kmalloc usage in lpm_trie MAP_GET_NEXT_KEY rcu region 2018-01-23 17:33:57 +01:00
lib
mm
net bpf: Add BPF_SOCK_OPS_STATE_CB 2018-01-25 16:41:15 -08:00
samples bpf: sockmap set rlimit 2018-01-24 10:46:59 +01:00
scripts
security
sound
tools selftests/bpf: make 'dubious pointer arithmetic' test useful 2018-01-24 10:39:58 +01:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.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.