OSDN Git Service

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)
commit13d3b1ebe28762c79e981931a41914fae5d04386
tree2ba5e7acc2245ff6296bc8b51e10d49559cdb928
parent61bc4d8daa7af018d7ea084ea38648828a5a90d5
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