]> 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)
commitb239212cbc7cf093f9c53d2e357bf19f1080d375
tree2ba5e7acc2245ff6296bc8b51e10d49559cdb928
parent6161c07857153c832d63eec8eb74596dadbd83d2
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