diff options
| author | Mike Rapoport <[email protected]> | 2016-06-14 08:29:38 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-14 03:03:34 -0400 |
| commit | d1dc06dcd0f8fc559e449322d2fa4d769c289e00 (patch) | |
| tree | 0603a2abcac9c76214ff6b2e989e3e100773fe2b /tools/perf/scripts/python/netdev-times.py | |
| parent | 99860208bc62d8ebd5c57495b84856506fe075bc (diff) | |
virtio_net: fix csum generation for virtio-net devices
The commit e858fae2b0b8 ("virtio_net: use common code for virtio_net_hdr
and skb GSO conversion") replaced the tun code for header manipulation
with the generic helpers. While doing so, it implictly moved the
skb_partial_csum_set() invocation after eth_type_trans(), which
invalidate the current gso start/offset values.
Fix it by moving the helper invocation before the mac pulling.
Fixes: e858fae2b0b8 ("virtio_net: use common code for virtio_net_hdr and
skb GSO conversion")
Reported-by: David Ahern <[email protected]>
Signed-off-by: Mike Rapoport <[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