From 32033dd9669a9921fb125d4cb1a35ea49b3dcdb5 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sat, 3 Sep 2016 14:34:14 +0000 Subject: Reduce the factor of the limits derived form NMBCLUSTERS. We want the additional clusters in the socket buffer and not elsewhere. OK claudio@ --- sys/netinet/tcp_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet/tcp_subr.c') 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 -- cgit v1.2.3