[ovs-git] Open vSwitch: bridge: Fix a segmentation fault in bridge_init_ofproto(). (master)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 6 20:43:13 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, master has been updated
       via  b099cd5f555a22646fe0be565ccef3c0cf9dcd87 (commit)
       via  3c82d0682ab7661d218545e9ba06e52f1cf44e43 (commit)
      from  248a2130b0374d046057b2995c645c23172d4b84 (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 b099cd5f555a22646fe0be565ccef3c0cf9dcd87
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b099cd5f555a22646fe0be565ccef3c0cf9dcd87
Author: Ethan Jackson <ethan at nicira.com>
		
bridge: Fix a segmentation fault in bridge_init_ofproto().
		
When the database is initially created there may no be rows in the
Open_vSwitch table.  In this case, the ovsrec_open_vswitch passed
to bridge_init_ofproto() is NULL and causes a segmentation fault.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 3c82d0682ab7661d218545e9ba06e52f1cf44e43
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3c82d0682ab7661d218545e9ba06e52f1cf44e43
Author: Ethan Jackson <ethan at nicira.com>
		
netdev-vport: Fix warning due to new GRE type.
		
This patch fixes the following warning caused by a switch case
which was not handled.

lib/netdev-vport.c:144:5: error: enumeration value
‘OVS_VPORT_TYPE_FT_GRE’ not handled in switch

Signed-off-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 lib/netdev-vport.c |    1 +
 vswitchd/bridge.c  |   40 +++++++++++++++++++++-------------------
 2 files changed, 22 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list