]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bpf: Support for per connection SYN/SYN-ACK RTOs
authorLawrence Brakmo <brakmo@fb.com>
Sat, 1 Jul 2017 03:02:42 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 23:15:13 +0000 (16:15 -0700)
commit8550f328f45db6d37981eb2041bc465810245c03
treee3594097d7b3c9dc3176c8f9084431cf24d79cf6
parentae16189efb0fe2bdc5e702bd6221ed6d0ff5babd
bpf: Support for per connection SYN/SYN-ACK RTOs

This patch adds support for setting a per connection SYN and
SYN_ACK RTOs from within a BPF_SOCK_OPS program. For example,
to set small RTOs when it is known both hosts are within a
datacenter.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
include/uapi/linux/bpf.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c