diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-03 14:34:14 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-03 14:34:14 +0000 |
commit | 32033dd9669a9921fb125d4cb1a35ea49b3dcdb5 (patch) | |
tree | 814f7145c8a3e7f7379af02323e048626ac59fd0 /sys/netinet | |
parent | b9d6112faf35f4cc5d204ebfc255dc4e38efbc20 (diff) |
Reduce the factor of the limits derived form NMBCLUSTERS. We want
the additional clusters in the socket buffer and not elsewhere.
OK claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7940a856cf9..11ce7055483 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.152 2016/08/31 11:05:05 mpi Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.153 2016/09/03 14:34:13 bluhm Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -120,7 +120,7 @@ u_int32_t tcp_now = 1; #define TCB_INITIAL_HASH_SIZE 128 #endif -int tcp_reass_limit = NMBCLUSTERS / 2; /* hardlimit for tcpqe_pool */ +int tcp_reass_limit = NMBCLUSTERS / 8; /* hardlimit for tcpqe_pool */ #ifdef TCP_SACK int tcp_sackhole_limit = 32*1024; /* hardlimit for sackhl_pool */ #endif |