Re: udp sendfile & csum_partial work around

From: David S. Miller (davem@redhat.com)
Date: Fri Sep 06 2002 - 12:39:52 EST


   From: Kishore Chitrapu <kishore@storigen.com>
   Date: Fri, 06 Sep 2002 13:31:27 -0400

   Also,
   struct file_operations {
   ...
   +
   ssize_t (*udp_sendfile) (struct file *, struct file *, loff_t *, size_t,
   struct sf_hdtr *);

That interface is so ugly, I cannot even give words to
describe it.

There is ZERO reason you cannot add a CORK operation
for UDP just like we added to TCP then use the
standard sendfile operation.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:02 EST