Eric Dumazet 5fb84b1428 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 <eric.dumazet@gmail.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-10 14:39:26 -04:00
..
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2011-10-19 03:10:46 -04:00
2012-03-08 00:30:32 -08:00
2012-03-11 23:42:51 -07:00
2012-03-11 23:42:51 -07:00
2012-03-11 23:42:51 -07:00
2012-03-28 18:30:03 +01:00
2011-12-12 19:04:10 -05:00
2012-03-28 18:30:03 +01:00
2012-03-19 16:53:08 -04:00
2012-03-11 23:42:51 -07:00
2012-03-11 15:52:12 -07:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2011-03-31 11:26:23 -03:00
2012-01-31 12:14:00 -05:00
2011-03-31 11:26:23 -03:00
2012-04-10 14:39:26 -04:00
2012-03-11 23:42:51 -07:00
2012-01-17 10:31:12 -05:00
2012-03-28 18:30:03 +01:00