From owner-freebsd-net@FreeBSD.ORG Wed Jul 7 22:29:09 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A016F106564A for ; Wed, 7 Jul 2010 22:29:09 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id CBFF18FC08 for ; Wed, 7 Jul 2010 22:29:08 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA10012; Thu, 08 Jul 2010 01:29:02 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OWd70-0000xy-F7; Thu, 08 Jul 2010 01:29:02 +0300 Message-ID: <4C34FFAD.6050504@icyb.net.ua> Date: Thu, 08 Jul 2010 01:29:01 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: Ming Fu References: <7C3D15DD6E8F464998CA1470D8A322F302BB9F72@ES02CO.wgti.net> In-Reply-To: <7C3D15DD6E8F464998CA1470D8A322F302BB9F72@ES02CO.wgti.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: kern/123095 kern/131602 sendfile X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 22:29:09 -0000 on 07/07/2010 20:24 Ming Fu said the following: > flags = fcntl(s, F_GETFL); > flags |= O_NONBLOCK; > fcntl(s, F_SETFL); Seems like flags parameter is missing in the last call. That shouldn't trigger the bug though. -- Andriy Gapon