[ovs-git] Open vSwitch: ofproto: Check ofproto_port_query_by_name() return value when adding port. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Nov 11 16:44:24 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  17f69db575069b403cfaf24e9e00c0ce37195250 (commit)
      from  fb668e3a13eaa07bbb8bc50cbee1d201051b779c (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 17f69db575069b403cfaf24e9e00c0ce37195250
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=17f69db575069b403cfaf24e9e00c0ce37195250
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Check ofproto_port_query_by_name() return value when adding port.
		
Otherwise, if the port add succeeds but the query that looks up the port
number fails, then ofproto_port_add() would return zero as the OpenFlow
port number and ignore the error.

Reported-by: Guolin Yang <gyang at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 AUTHORS           |    1 +
 ofproto/ofproto.c |   18 ++++++++++++------
 2 files changed, 13 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list