Ed L. Cashin e407a7f6cd aoe: zero copy write 1 of 2
Avoid memory copy on writes.
(This patch depends on fixes in patch 9 to follow.)

Although skb->len should not be set when working with linear skbuffs,
the skb->tail pointer maintained by skb_put/skb_trim is not relevant
to what happens when the skb_fill_page_desc function is called.  This
issue was raised without comment in linux-kernel and netdev earlier
this month:

  http://thread.gmane.org/gmane.linux.kernel/446474/
  http://thread.gmane.org/gmane.linux.network/45444/

So until there is something analogous to skb_put that works for
zero-copy write skbuffs, we will do what the other callers of
skb_fill_page_desc are doing.

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-18 12:53:50 -07:00
..
2006-10-18 12:53:50 -07:00
2006-10-11 11:14:25 -07:00
2006-10-17 08:18:42 -07:00
2006-10-08 12:32:35 -07:00
2006-10-11 11:14:23 -07:00
2006-10-03 22:31:37 +02:00
2006-10-17 08:18:42 -07:00
2006-10-17 18:03:33 -07:00
2006-10-17 08:18:44 -07:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00