net: use skb_copy_datagram_from_iovec() in zerocopy_sg_from_iovec()
authorJason Wang <jasowang@redhat.com>
Tue, 6 Aug 2013 09:45:08 +0000 (17:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2013 23:52:38 +0000 (16:52 -0700)
Use skb_copy_datagram_from_iovec() to avoid code duplication and make it easy to
be read. Also we can do the skipping inside the zero-copy loop.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found