Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-14

Re: [PATCH net-next] virtio_net: fix csum generation for virtio-net devices

From: David Miller <davem@davemloft.net>
Date: 2016-06-14 07:04:07

From: Mike Rapoport <redacted>
Date: Tue, 14 Jun 2016 08:29:38 +0300
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 <redacted>
Signed-off-by: Mike Rapoport <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help