]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Add tcp_notsent_lowat bpf setsockopt
authorNikita V. Shirokov <tehnerd@tehnerd.com>
Fri, 9 Oct 2020 07:03:25 +0000 (07:03 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 9 Oct 2020 15:12:03 +0000 (17:12 +0200)
commiteca43ee6c46db92dd850ce659316b0680d70e137
treee5c85ee2588c031f26a63176495f45654168f3c5
parentc3f01fdcedf9459b2a27b22287414ab3a0d5d818
bpf: Add tcp_notsent_lowat bpf setsockopt

Adding support for TCP_NOTSENT_LOWAT sockoption (https://lwn.net/Articles/560082/)
in tcp bpf programs.

Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201009070325.226855-1-tehnerd@tehnerd.com
include/uapi/linux/bpf.h
net/core/filter.c
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/progs/connect4_prog.c