commit | db543c1f973cd1d557cc32ceee76737c1e4d2898 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Fri Aug 15 15:13:53 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 15 19:52:30 2008 -0700 |
tree | a87f3d359895b08648362f785a01559adbb30b24 | |
parent | e3b99556975907530aeb9745e7b3945a0da48f17 [diff] |
net: skb_copy_datagram_from_iovec() 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>