Received: by oss.sgi.com id ; Tue, 27 Jun 2000 09:30:40 -0700 Received: from minus.inr.ac.ru ([193.233.7.97]:263 "HELO ms2.inr.ac.ru") by oss.sgi.com with SMTP id ; Tue, 27 Jun 2000 09:30:31 -0700 Received: (from kuznet@localhost) by ms2.inr.ac.ru (8.6.13/ANK) id UAA13199; Tue, 27 Jun 2000 20:30:04 +0400 From: kuznet@ms2.inr.ac.ru Message-Id: <200006271630.UAA13199@ms2.inr.ac.ru> Subject: Re: Fwd: Problem with recv syscall on socket when other side closed connection To: dyp@perchine.com (Denis Perchine) Date: Tue, 27 Jun 2000 20:30:03 +0400 (MSK DST) Cc: davem@redhat.com, ak@muc.de, netdev@oss.sgi.com In-Reply-To: <00062723125606.00490@dyp> from "Denis Perchine" at Jun 27, 0 11:07:47 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Length: 484 Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Hello! > No.... Don't do it... At least I can write workaround with comment: > /* > Just to make this buggy Linux happy :-(((( > */ OK. Let me to reproduce. > > You wrote to dead socket, right? It is the hardest error. > Now I start to understand why BSD people hate Linux... Guy, before all your program is buggy. You could tell "thank you" to people who have lost time explaining you this. And you could thank also OS, which allowed to expose this _fatal_ bug. Alexey