Re: [PATCH 3/3] virtio_net: Fix skb-csum_start computation

2008-05-29 Thread Herbert Xu
On Tue, May 27, 2008 at 12:20:47PM +0100, Mark McLoughlin wrote: hdr-csum_start is the offset from the start of the ethernet header to the transport layer checksum field. skb-csum_start is the offset from skb-head. skb_partial_csum_set() assumes that skb-data points to the ethernet header -

Re: [PATCH 3/3] virtio_net: Fix skb-csum_start computation

2008-05-29 Thread Rusty Russell
On Tuesday 27 May 2008 21:20:47 Mark McLoughlin wrote: hdr-csum_start is the offset from the start of the ethernet header to the transport layer checksum field. skb-csum_start is the offset from skb-head. skb_partial_csum_set() assumes that skb-data points to the ethernet header - i.e. it