[ovs-git] Open vSwitch: datapath: improve ipv6_find_hdr() function for IPv6 'set' action (branch-1.9)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 6 19:15:18 UTC 2012


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-1.9 has been updated
       via  69048036099e86e058f8122efdf18053fd4c4141 (commit)
       via  1f1936d935e8012ff24fed3d309cd7ef955790dd (commit)
      from  e495d4a5d3929aea62cbe1f6996f342e52b96c66 (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 69048036099e86e058f8122efdf18053fd4c4141
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=69048036099e86e058f8122efdf18053fd4c4141
Author: Ansis Atteka <aatteka at nicira.com>
		
datapath: improve ipv6_find_hdr() function for IPv6 'set' action
		
This patch prepares ipv6_find_hdr() function so that it could be
able to skip routing headers, where segements_left is 0. This is
required for us to handle multiple routing header case correctly.

Signed-off-by: Ansis Atteka <aatteka at nicira.com>


commit 1f1936d935e8012ff24fed3d309cd7ef955790dd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1f1936d935e8012ff24fed3d309cd7ef955790dd
Author: Ansis Atteka <aatteka at nicira.com>
		
datapath: Add ipv6_find_hdr() compatibility function.
		
Implementation of the IPv6 'set' action depends on ipv6_find_exthdr()
function to find routing header. By looking at the routing headers,
it is possible to tell, whether L4 checksums will need to be
recalculated, whenever the destination address is changed in
the main IPv6 header.

This function will need to be customized so that it would skip all
routing headers, where segements_left is equal to 0.

Signed-off-by: Ansis Atteka <aatteka at nicira.com>


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

Summary of changes:
 datapath/linux/compat/exthdrs_core.c     |  123 ++++++++++++++++++++++++++++++
 datapath/linux/compat/include/net/ipv6.h |   12 +++
 2 files changed, 135 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list