[ovs-git] Open vSwitch: python/ovs/stream: Fix Stream.connect() retval for incomplete connection. (branch-1.7)

dev at openvswitch.org dev at openvswitch.org
Thu Nov 22 06:12:16 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.7 has been updated
       via  d300e26d1d4dbaccc9527ca363bec5b81d3578c5 (commit)
      from  c3b7b2cc37635882e3c20ffa86779cd7e1615acf (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 d300e26d1d4dbaccc9527ca363bec5b81d3578c5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d300e26d1d4dbaccc9527ca363bec5b81d3578c5
Author: Ben Pfaff <blp at nicira.com>
		
python/ovs/stream: Fix Stream.connect() retval for incomplete connection.
		
If the loop condition in Stream.connect() was false, which is especially
likely for TCP connections, then Stream.connect() would return None,
which violates its documented behavior.  This commit fixes the problem.

Reported-by: Isaku Yamahata <yamahata at valinux.co.jp>
Tested-by: Isaku Yamahata <yamahata at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 python/ovs/stream.py |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list