Date: Fri, 7 Feb 1997 07:29:24 -0500 From: Garrett Wollman <wollman@lcs.mit.edu> To: Eka Kelana <eka@werty.wasantara.net.id> Cc: freebsd-hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, dg@root.com Subject: Need quick answer Message-ID: <9702071229.AA18092@halloran-eldar.lcs.mit.edu> In-Reply-To: <1522A71DB9@bandung.wasantara.net.id> References: <1522A71DB9@bandung.wasantara.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 7 Feb 1997 05:28:25 +0700, Eka Kelana <eka@werty.wasantara.net.id> said: > Hi.. > I need a good explanation about this code in in_rmx.c: > ... > if (!rt->rt_rmx.rmx_sendpipe && !(rt->rt_rmx.rmx_locks & RTV_SPIPE)) rt-> rt_rmx.rmx_sendpipe = tcp_sendspace; > if (!rt->rt_rmx.rmx_recvpipe && !(rt->rt_rmx.rmx_locks & RTV_RPIPE)) rt-> rt_rmx.rmx_recvpipe = tcp_recvspace; > ... The reason why that is there is because otherwise tcp_close() won't save the ssthresh. > I experienced that it wouldn't allow user program to set the socket buffer > size. The code in tcp_mss() function is: This is a bug. I need to figure out a way to have the user's selection automatically override the default one in the route, and (presumably) also prevent tcp_close() from saving the ssthresh in that case. If you care to contribute code, I'm fighting other fires right now and would greatly appreciate it. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9702071229.AA18092>