[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1Khzut-0006lv-Co@gondolin.me.apana.org.au>
Date: Tue, 23 Sep 2008 12:54:27 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: johnpol@....mipt.ru (Evgeniy Polyakov)
Cc: davem@...emloft.net, johaahn@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] sendfile() and UDP socket
Evgeniy Polyakov <johnpol@....mipt.ru> wrote:
> On Sun, Sep 21, 2008 at 11:54:44PM -0700, David Miller (davem@...emloft.net) wrote:
>
>> It is in fact exactly and precisely like send(). It must even give
>> the same error return semantics as other socket data transfer calls
>> do. See above.
>
> That's the main difference on how you and me look at sendfile().
I think this dicussion is moot since the only time you want to use
sendfile is for bulk transfers and these days anybody designing new
applications that does bulk transfers over UDP should be taken out
and shot.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists