[ovs-git] Open vSwitch: datapath: Fix IP ID setting. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 27 01:25:33 UTC 2013


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, master has been updated
       via  0e4c4682f4058e9f51e980ee8c138756a32da45f (commit)
       via  26fd9d16d32078ccbea0d8a7bc87d2ed4793039f (commit)
      from  c25ea53406a819bc2acff7b50e804c21f307bdec (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 0e4c4682f4058e9f51e980ee8c138756a32da45f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0e4c4682f4058e9f51e980ee8c138756a32da45f
Author: Jarno Rajahalme <jarno.rajahalme at nsn.com>
		
datapath: Fix IP ID setting.
		
Eliminate the extra call to ip_select_ident(), and place the
__ip_select_ident() call where the ip_select_ident() call was.
This fixes two problems: Before, the call to ip_select_ident() did
always zero out the value set earlier by __ip_select_ident().  Also,
when __ip_select_ident() was called before setting the iph->daddr,
ident calculation was possibly based on uninitialized data (but as
the result was masked by the later call to ip_select_ident() it was
not visible).

Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 26fd9d16d32078ccbea0d8a7bc87d2ed4793039f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=26fd9d16d32078ccbea0d8a7bc87d2ed4793039f
Author: Jarno Rajahalme <jarno.rajahalme at nsn.com>
		
datapath: Factor out common code from *_build_header() to ovs_tnl_send().
		
Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/tunnel.c      |   10 +++++++++-
 datapath/vport-gre.c   |   10 ----------
 datapath/vport-lisp.c  |    9 ---------
 datapath/vport-vxlan.c |    9 ---------
 4 files changed, 9 insertions(+), 29 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list