Re: [PATCH RFC 1/3] net: Prepare GSO return values for fraglist GSO.

2019-01-14 Thread Steffen Klassert
On Tue, Jan 08, 2019 at 02:53:52PM +0100, Paolo Abeni wrote: > On Fri, 2018-12-21 at 08:53 +0100, Steffen Klassert wrote: > > On fraglist GSO, we don't need to clone the original > > skb. So we don't have anything to return to free. > > Prepare GSO that it frees the original skb only > > if the ret

Re: [PATCH RFC 1/3] net: Prepare GSO return values for fraglist GSO.

2019-01-08 Thread Paolo Abeni
On Fri, 2018-12-21 at 08:53 +0100, Steffen Klassert wrote: > On fraglist GSO, we don't need to clone the original > skb. So we don't have anything to return to free. > Prepare GSO that it frees the original skb only > if the return pointer really changed. Fraglist > GSO frees the original skb itsel

[PATCH RFC 1/3] net: Prepare GSO return values for fraglist GSO.

2018-12-20 Thread Steffen Klassert
On fraglist GSO, we don't need to clone the original skb. So we don't have anything to return to free. Prepare GSO that it frees the original skb only if the return pointer really changed. Fraglist GSO frees the original skb itself on error and returns -EREMOTE in this case. Signed-off-by: Steffen