[ovs-git] Open vSwitch: test-vconn: Also accept EPIPE for TCP connection failures. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Aug 1 00:09:39 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  b322930908706d7db5cb5d1658c5c64f2642300a (commit)
       via  6d1fb217a904374316abdc9050db795129f72a13 (commit)
      from  46a8005051283ca176c51da453dbc918817bac07 (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 b322930908706d7db5cb5d1658c5c64f2642300a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b322930908706d7db5cb5d1658c5c64f2642300a
Author: Ben Pfaff <blp at nicira.com>
		
test-vconn: Also accept EPIPE for TCP connection failures.
		
Ed Maste reports that write() to a socket where the other side has closed
returns EPIPE on FreeBSD and ECONNRESET on Linux.

Reported-by: Ed Maste <emaste at freebsd.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 6d1fb217a904374316abdc9050db795129f72a13
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6d1fb217a904374316abdc9050db795129f72a13
Author: Ben Pfaff <blp at nicira.com>
		
test-vconn: Block in three cases where a race is visible on FreeBSD.
		
On FreeBSD, sometimes plain vconn_connect() or vconn_recv() reports EAGAIN
in these cases.

Reported-by: Ed Maste <emaste at freebsd.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/vconn.c        |   26 +++++++++++++++++++-------
 lib/vconn.h        |    3 ++-
 tests/test-vconn.c |   27 +++++++++++++++++++--------
 3 files changed, 40 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
Open vSwitch


More information about the git mailing list