diff options
| author | Jason Wang <[email protected]> | 2013-08-06 17:45:08 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-08-07 16:52:38 -0700 |
| commit | 3d9953a2ef2182d56e268742259b11dedb8e281d (patch) | |
| tree | a20e91bcc6cd02c8aaa6194e4be24bde9db7fb80 /tools/perf/scripts/python/netdev-times.py | |
| parent | 0433547aa7443cefc89d9b533169bdc50f1206b8 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions