[ovs-git] Open vSwitch: datapath: Allow minimum headroom to be set when copying buffers. (citrix)

dev at openvswitch.org dev at openvswitch.org
Wed Nov 18 21:58:04 UTC 2009

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, citrix has been updated
       via  0cd8a05ec036ca8f950d4d4034a80bf485581b6a (commit)
       via  5ef800a6909fabfb2331a2da90450c23ca61aa06 (commit)
      from  8fe1a59d281369829f474dc75eb5905c991ccd94 (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 0cd8a05ec036ca8f950d4d4034a80bf485581b6a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0cd8a05ec036ca8f950d4d4034a80bf485581b6a
Author: Jesse Gross <jesse at nicira.com>
datapath: Allow minimum headroom to be set when copying buffers.
If we need to copy an sk_buff in order to make it writable, allow
the minimum headroom to be specified.  This ensures that if we
need to add additional data, such as a VLAN tag, we will not have
to make a second copy.

Solves bug #2197 in certain situations.

commit 5ef800a6909fabfb2331a2da90450c23ca61aa06
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5ef800a6909fabfb2331a2da90450c23ca61aa06
Author: Jesse Gross <jesse at nicira.com>
datapath: Copy Xen's checksumming fields when doing skb_copy.
Two fields that control checksumming were added to sk_buff in
Xen: proto_data_valid and proto_csum_blank.  These fields are copied
when doing a skb_clone but not in other functions such as skb_copy,
which can lead to checksum errors in TCP and UDP when offloading is
enabled in the guest.  To fix this we manually copy these fields,
though ideally this should be fixed upstream in Xen.

Bug #2299


Summary of changes:
 datapath/actions.c |   32 ++++++++++++++++++++++++--------
 datapath/actions.h |    1 -
 2 files changed, 24 insertions(+), 9 deletions(-)

Open vSwitch

More information about the git mailing list