Re: [PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-04-22 Thread Zoltan Kiss
On 22/04/14 16:38, Ben Hutchings wrote: On Mon, 2014-04-21 at 12:26 +0100, Luis Henriques wrote: Hi David, On Thu, Mar 27, 2014 at 03:29:56PM -0400, David Miller wrote: From: Zoltan Kiss Date: Wed, 26 Mar 2014 22:37:45 + skb_zerocopy can copy elements of the frags array between skbs, bu

Re: [PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-04-22 Thread Ben Hutchings
On Mon, 2014-04-21 at 12:26 +0100, Luis Henriques wrote: > Hi David, > > On Thu, Mar 27, 2014 at 03:29:56PM -0400, David Miller wrote: > > From: Zoltan Kiss > > Date: Wed, 26 Mar 2014 22:37:45 + > > > > > skb_zerocopy can copy elements of the frags array between skbs, but it > > > doesn't >

Re: [PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-04-21 Thread Luis Henriques
Hi David, On Thu, Mar 27, 2014 at 03:29:56PM -0400, David Miller wrote: > From: Zoltan Kiss > Date: Wed, 26 Mar 2014 22:37:45 + > > > skb_zerocopy can copy elements of the frags array between skbs, but it > > doesn't > > orphan them. Also, it doesn't handle errors, so this patch takes care

Re: [PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-03-27 Thread David Miller
From: Zoltan Kiss Date: Wed, 26 Mar 2014 22:37:45 + > skb_zerocopy can copy elements of the frags array between skbs, but it doesn't > orphan them. Also, it doesn't handle errors, so this patch takes care of that > as well, and modify the callers accordingly. skb_tx_error() is also added to >

[PATCH v5] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-03-26 Thread Zoltan Kiss
skb_zerocopy can copy elements of the frags array between skbs, but it doesn't orphan them. Also, it doesn't handle errors, so this patch takes care of that as well, and modify the callers accordingly. skb_tx_error() is also added to the callers so they will signal the failed delivery towards the c