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

dev at openvswitch.org dev at openvswitch.org
Thu Nov 22 06:12:47 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.4 has been updated
       via  aa8d2ee8ae0d47f1683cf51e83f104022102ed73 (commit)
      from  5d98c83b9dec5f86af52df52695c7f43d2a63602 (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 aa8d2ee8ae0d47f1683cf51e83f104022102ed73
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=aa8d2ee8ae0d47f1683cf51e83f104022102ed73
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