[338] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: TCP race condition/rdist weirdness

daemon@ATHENA.MIT.EDU (eichin@mit.edu)
Thu May 18 20:32:36 1995

Date: Thu, 18 May 95 16:55:34 -0700
To: Thomas.Koenig@ciw.uni-karlsruhe.de
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <199505181605.SAA08393@mvmampc66.ciw.uni-karlsruhe.de> (Thomas.Koenig@ciw.uni-karlsruhe.de)
From: eichin@mit.edu

I recently fixed rdist to work under linux. The essence of the fix is
to *always* check the return value from write, and if it didn't
complete, loop until it does.

Since the writes are always to a pipe, it may be that linux is not
obeying POSIX in this regard, but it was better to make the code more
robust. Someone was going to take the patches and fold them back into
the main rdist release, but that hasn't happenned; if you'd like, I'll
post them here... they're included in CNS, but since you're in germany
you can't get that, so I'll seperate them out if you ask.
					_Mark_ <eichin@cygnus.com>
					Cygnus Support, East Coast

home help back first fref pref prev next nref lref last post