commit | 0a1ec07a67bd8b0033dace237249654d015efa21 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Apr 20 01:25:46 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 21 05:42:44 2009 -0700 |
tree | 1963b9ba273f0786c8a972c27b5599dfb4a19f06 | |
parent | 0cededf3ffbb775c3716aa1d246338fdc24b1259 [diff] |
net: skb_copy_datagram_const_iovec() There's an skb_copy_datagram_iovec() to copy out of a paged skb, but it modifies the iovec, and does not support starting at an offset in the destination. We want both 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: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>