aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorDmitry Yakunin <zeil@yandex-team.ru>2020-06-20 18:30:52 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-06-24 11:21:03 -0700
commitf9bcf96837f158db6ea982d15cd2c8161ca6bc23 (patch)
treee12aa8a1816f41c7d1ccbc4c4a8455a99de4f1f4 /net/ipv4/tcp_ipv4.c
parenttcp: Expose tcp_sock_set_keepidle_locked (diff)
downloadwireguard-linux-f9bcf96837f158db6ea982d15cd2c8161ca6bc23.tar.xz
wireguard-linux-f9bcf96837f158db6ea982d15cd2c8161ca6bc23.zip
bpf: Add SO_KEEPALIVE and related options to bpf_setsockopt
This patch adds support of SO_KEEPALIVE flag and TCP related options to bpf_setsockopt() routine. This is helpful if we want to enable or tune TCP keepalive for applications which don't do it in the userspace code. v3: - update kernel-doc in uapi (Nikita Vetoshkin <nekto0n@yandex-team.ru>) v4: - update kernel-doc in tools too (Alexei Starovoitov) - add test to selftests (Alexei Starovoitov) Signed-off-by: Dmitry Yakunin <zeil@yandex-team.ru> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200620153052.9439-3-zeil@yandex-team.ru
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions