diff options
| author | Eric Dumazet <[email protected]> | 2012-04-10 00:56:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-10 18:39:26 +0000 |
| commit | 5fb84b1428b271f8767e0eb3fcd7231896edfaa4 (patch) | |
| tree | 4e27fb488ee9a0ecc4fca1c736dc5415cebbe59c /lib/mpi/mpi-bit.c | |
| parent | Merge branch 'master' of git://1984.lsi.us.es/net (diff) | |
| download | kernel-5fb84b1428b271f8767e0eb3fcd7231896edfaa4.tar.gz kernel-5fb84b1428b271f8767e0eb3fcd7231896edfaa4.zip | |
tcp: restore correct limit
Commit c43b874d5d714f (tcp: properly initialize tcp memory limits) tried
to fix a regression added in commits 4acb4190 & 3dc43e3,
but still get it wrong.
Result is machines with low amount of memory have too small tcp_rmem[2]
value and slow tcp receives : Per socket limit being 1/1024 of memory
instead of 1/128 in old kernels, so rcv window is capped to small
values.
Fix this to match comment and previous behavior.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Glauber Costa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
