Re: udp sendfile & csum_partial work around

From: David S. Miller (
Date: Fri Sep 06 2002 - 12:39:52 EST

   From: Kishore Chitrapu <>
   Date: Fri, 06 Sep 2002 13:31:27 -0400

   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
More majordomo info at

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