diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-03-16 18:38:12 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-19 02:25:41 (GMT) |
commit | c6a58ffed53612be86b758df1cdb0b0f4305e9cb (patch) | |
tree | 07f38d221c7bea9005cadd92bc23e30ac46fddef /security/keys | |
parent | 79d3b59a93ba25f3b2c72eb4099c189d41d30204 (diff) | |
download | linux-c6a58ffed53612be86b758df1cdb0b0f4305e9cb.tar.xz |
RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket
Add per-net sysctl tunables to set the size of sndbuf and
rcvbuf on the kernel tcp socket.
The tunables are added at /proc/sys/net/rds/tcp/rds_tcp_sndbuf
and /proc/sys/net/rds/tcp/rds_tcp_rcvbuf.
These values must be set before accept() or connect(),
and there may be an arbitrary number of existing rds-tcp
sockets when the tunable is modified. To make sure that all
connections in the netns pick up the same value for the tunable,
we reset existing rds-tcp connections in the netns, so that
they can reconnect with the new parameters.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions