]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Support for setting initial receive window
authorLawrence Brakmo <brakmo@fb.com>
Sat, 1 Jul 2017 03:02:44 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 23:15:13 +0000 (16:15 -0700)
commitf4487dea004716031b52c2bcbf2ef56e238fe0f7
tree2ba5e7acc2245ff6296bc8b51e10d49559cdb928
parent4e85901d9c4cb47cd47e383cdd2f802e62cca96d
bpf: Support for setting initial receive window

This patch adds suppport for setting the initial advertized window from
within a BPF_SOCK_OPS program. This can be used to support larger
initial cwnd values in environments where it is known to be safe.

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_minisocks.c
net/ipv4/tcp_output.c