From owner-freebsd-bugs Fri Feb 7 04:30:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24006 for bugs-outgoing; Fri, 7 Feb 1997 04:30:20 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA23956; Fri, 7 Feb 1997 04:30:05 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA18092; Fri, 7 Feb 1997 07:29:24 -0500 Date: Fri, 7 Feb 1997 07:29:24 -0500 From: Garrett Wollman Message-Id: <9702071229.AA18092@halloran-eldar.lcs.mit.edu> To: Eka Kelana Cc: freebsd-hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, dg@root.com Subject: Need quick answer In-Reply-To: <1522A71DB9@bandung.wasantara.net.id> References: <1522A71DB9@bandung.wasantara.net.id> Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < 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