Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 19 Nov 2001 03:00:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 19 Nov 2001 03:00:29 -0500 Received: from web14303.mail.yahoo.com ([216.136.173.79]:53818 "HELO web14303.mail.yahoo.com") by vger.kernel.org with SMTP id ; Mon, 19 Nov 2001 03:00:13 -0500 Message-ID: <20011119080012.75161.qmail@web14303.mail.yahoo.com> Date: Mon, 19 Nov 2001 00:00:12 -0800 (PST) From: Lee Chin Subject: Re: sendfile from sockets To: Anton Blanchard Cc: "linux, kernel" , Linux Net In-Reply-To: <20011119171653.E6367@krispykreme> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Do I need to do something special to enable sendfile in the kernel? It works on a 2.2 kernel, but not on a 2.4 kernel (and this is sendfile in general... not just sockets) Thanks Lee --- Anton Blanchard wrote: > > > Although the man page says you can sendfile from a > > socket,I am unable to do so... I can only send > file > > from a file, to either a socket or file > > > > Is this a kernel limitation? > > Yes, the manpage needs updating, you can only > sendfile() from > something that exists in the pagecache (ie not a > socket). > > Anton __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/