Date: Wed, 24 Jan 2007 22:47:00 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 113484 for review Message-ID: <200701242247.l0OMl0i4017992@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113484 Change 113484 by zec@zec_tca51 on 2007/01/24 22:46:29 Back out a few bits leaked from an uncommited set of changes. Affected files ... .. //depot/projects/vimage/src/sys/netinet/tcp_subr.c#9 edit Differences ... ==== //depot/projects/vimage/src/sys/netinet/tcp_subr.c#9 (text+ko) ==== @@ -189,17 +189,16 @@ static int tcptw_auto_size(void) { - INIT_VNET_INET(curvnetb); int halfrange; /* * Max out at half the ephemeral port range so that TIME_WAIT * sockets don't tie up too many ephemeral ports. */ - if (V_ipport_lastauto > V_ipport_firstauto) - halfrange = (V_ipport_lastauto - V_ipport_firstauto) / 2; + if (ipport_lastauto > ipport_firstauto) + halfrange = (ipport_lastauto - ipport_firstauto) / 2; else - halfrange = (V_ipport_firstauto - V_ipport_lastauto) / 2; + halfrange = (ipport_firstauto - ipport_lastauto) / 2; /* Protect against goofy port ranges smaller than 32. */ return (imin(imax(halfrange, 32), maxsockets / 5)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701242247.l0OMl0i4017992>