diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-28 19:24:39 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 19:24:39 +0900 |
commit | 871da0a761dc967d9bd79c0d4b4cb3828c0281a1 (patch) | |
tree | 5f0d0b02bde533de08ef07d5e670f0815be84d3e /net/ipv4/tcp_minisocks.c | |
parent | 267146d44718771aa0b375e78b33c81d137db09d (diff) | |
parent | c26e91f8b9b8e1fd252e07c1f60e50220cd7ebab (diff) | |
download | linux-871da0a761dc967d9bd79c0d4b4cb3828c0281a1.tar.gz linux-871da0a761dc967d9bd79c0d4b4cb3828c0281a1.tar.bz2 linux-871da0a761dc967d9bd79c0d4b4cb3828c0281a1.zip |
Merge branch 'tcp-more-perns-sysctls'
Eric Dumazet says:
====================
tcp: move 12 sysctls to namespaces
Ideally all TCP sysctls should be per netns.
This patch series takes care of 12 sysctls.
Remains the ones that need discussion :
sysctl_tcp_mem, sysctl_tcp_rmem, sysctl_tcp_wmem, and sysctl_tcp_max_orphans
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index 3270ab8416ce..3c65c1a3f944 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -369,7 +369,7 @@ void tcp_openreq_init_rwin(struct request_sock *req, full_space = rcv_wnd * mss; /* tcp_full_space because it is guaranteed to be the first packet */ - tcp_select_initial_window(full_space, + tcp_select_initial_window(sk_listener, full_space, mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), &req->rsk_rcv_wnd, &req->rsk_window_clamp, |