[ovs-git] Open vSwitch: datapath: Orphan frags in skb_zerocopy and handle errors (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Mon Apr 21 19:04:22 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-2.1 has been updated
       via  a2946b415e52059607a43d41ba7ad0123b39c587 (commit)
      from  bd3759d35c870d9ae66118a704d950144a66a535 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a2946b415e52059607a43d41ba7ad0123b39c587
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a2946b415e52059607a43d41ba7ad0123b39c587
Author: Zoltan Kiss <zoltan.kiss at citrix.com>
		
datapath: Orphan frags in skb_zerocopy and handle errors
		
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>
Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c                          |    6 +++++-
 datapath/linux/compat/include/linux/skbuff.h |   16 +++++++++++++--
 datapath/linux/compat/skbuff-openvswitch.c   |   27 +++++++++++++++++++-------
 3 files changed, 39 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list