]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
net: skb_copy_datagram_from_iovec()
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 15 Aug 2008 22:13:53 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Aug 2008 02:52:30 +0000 (19:52 -0700)
There's an skb_copy_datagram_iovec() to copy out of a paged skb, but
nothing the other way around (because we don't do that).

We want to allocate big skbs in tun.c, so let's add the function.
It's a carbon copy of skb_copy_datagram_iovec() with enough changes to
be annoying.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found