diff options
author | Jason Wang <jasowang@redhat.com> | 2013-08-06 17:45:08 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-07 16:52:38 -0700 |
commit | 3d9953a2ef2182d56e268742259b11dedb8e281d (patch) | |
tree | a20e91bcc6cd02c8aaa6194e4be24bde9db7fb80 /drivers/net | |
parent | 0433547aa7443cefc89d9b533169bdc50f1206b8 (diff) | |
download | linux-3d9953a2ef2182d56e268742259b11dedb8e281d.tar.bz2 |
net: use skb_copy_datagram_from_iovec() in zerocopy_sg_from_iovec()
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions