[ovs-dev] [PATCH v2] datapath: Orphan frags in skb_zerocopy and handle errors
Jesse Gross
jesse at nicira.com
Thu Apr 10 23:08:56 UTC 2014
On Thu, Apr 10, 2014 at 8:43 AM, Zoltan Kiss <zoltan.kiss at citrix.com> wrote:
> This is the ported version of commit 36d5fe6a with the same name from net-next.
> Apart from the small datapath.c changes it adjust the compat layer files as
> well. This is the original commit message:
>
> "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 creator of the
> skb."
>
> Signed-off-by: Zoltan Kiss <zoltan.kiss at citrix.com>
> ---
> v2:
> - adding stubs of skb_tx_error() and skb_orphan_frags() for kernels older than
> 3.8
Thanks for catching skb_orphan_frags() as well but I think that it was
added in 3.6, not 3.8.
More information about the dev
mailing list