summaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-10-20 16:53:56 -0400
committerDavid S. Miller <davem@davemloft.net>2011-10-20 16:54:51 -0400
commite9266a02b7e6542355431955075b4e688962fc0a (patch)
tree931d80e4cf840fc9ed036a3406799a546dda0518 /net/core/pktgen.c
parent30d3c128eafd2277ca2bb4b62845f25ad9295c12 (diff)
downloadlinux-e9266a02b7e6542355431955075b4e688962fc0a.tar.bz2
tcp: use TCP_DEFAULT_INIT_RCVWND in tcp_fixup_rcvbuf()
Since commit 356f039822b (TCP: increase default initial receive window.), we allow sender to send 10 (TCP_DEFAULT_INIT_RCVWND) segments. Change tcp_fixup_rcvbuf() to reflect this change, even if no real change is expected, since sysctl_tcp_rmem[1] = 87380 and this value is bigger than tcp_fixup_rcvbuf() computed rcvmem (~23720) Note: Since commit 356f039822b limited default window to maximum of 10*1460 and 2*MSS, we use same heuristic in this patch. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions