aboutsummaryrefslogtreecommitdiff
path: root/lib/vconn.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-31 10:12:20 -0700
committerBen Pfaff <blp@nicira.com>2012-07-31 17:04:34 -0700
commit6d1fb217a904374316abdc9050db795129f72a13 (patch)
tree38ed138a6405f0e3f0c1cdcb4f72387bbec8bafa /lib/vconn.h
parent46a8005051283ca176c51da453dbc918817bac07 (diff)
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@freebsd.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/vconn.h')
-rw-r--r--lib/vconn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vconn.h b/lib/vconn.h
index fd8bb253..3bb44507 100644
--- a/lib/vconn.h
+++ b/lib/vconn.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -56,6 +56,7 @@ void vconn_run_wait(struct vconn *);
int vconn_open_block(const char *name, enum ofp_version min_version,
struct vconn **);
+int vconn_connect_block(struct vconn *);
int vconn_send_block(struct vconn *, struct ofpbuf *);
int vconn_recv_block(struct vconn *, struct ofpbuf **);