RE: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-12-02 Thread Paul Durrant
> Subject: Re: [PATCH net-next] xen-netback: Fix pull size in > checksum_setup_ip* > > From: Zoltan Kiss > Date: Fri, 29 Nov 2013 18:56:47 + > > > Before checksum setup we need to make sure we have enough data in > linear > > buffer, so we do a pull if not. Th

RE: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-12-02 Thread Paul Durrant
> -Original Message- > From: Zoltan Kiss > Sent: 29 November 2013 20:26 > To: Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jonathan Davies; > Paul Durrant > Cc: Zoltan Kiss > Subject: Re: [PATCH ne

RE: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-12-02 Thread Paul Durrant
-Original Message- From: Zoltan Kiss Sent: 29 November 2013 20:26 To: Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jonathan Davies; Paul Durrant Cc: Zoltan Kiss Subject: Re: [PATCH net-next] xen-netback: Fix pull size

RE: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-12-02 Thread Paul Durrant
-next] xen-netback: Fix pull size in checksum_setup_ip* From: Zoltan Kiss zoltan.k...@citrix.com Date: Fri, 29 Nov 2013 18:56:47 + Before checksum setup we need to make sure we have enough data in linear buffer, so we do a pull if not. The calculation of the required data counts

Re: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-11-30 Thread David Miller
From: Zoltan Kiss Date: Fri, 29 Nov 2013 18:56:47 + > Before checksum setup we need to make sure we have enough data in linear > buffer, so we do a pull if not. The calculation of the required data counts > with skb->network_header, which is the headroom size actually. This is not >

Re: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-11-30 Thread David Miller
From: Zoltan Kiss zoltan.k...@citrix.com Date: Fri, 29 Nov 2013 18:56:47 + Before checksum setup we need to make sure we have enough data in linear buffer, so we do a pull if not. The calculation of the required data counts with skb-network_header, which is the headroom size actually. This

Re: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-11-29 Thread Zoltan Kiss
Or would it make sense to drop header_size and use off + something as function parameters? Zoli On 29/11/13 18:56, Zoltan Kiss wrote: Before checksum setup we need to make sure we have enough data in linear buffer, so we do a pull if not. The calculation of the required data counts with

Re: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-11-29 Thread Zoltan Kiss
Or would it make sense to drop header_size and use off + something as function parameters? Zoli On 29/11/13 18:56, Zoltan Kiss wrote: Before checksum setup we need to make sure we have enough data in linear buffer, so we do a pull if not. The calculation of the required data counts with