Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160324071
D54340.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D54340.diff
View Options
diff --git a/usr.sbin/bhyve/slirp/slirp-helper.c b/usr.sbin/bhyve/slirp/slirp-helper.c
--- a/usr.sbin/bhyve/slirp/slirp-helper.c
+++ b/usr.sbin/bhyve/slirp/slirp-helper.c
@@ -503,6 +503,8 @@
memset(&priv, 0, sizeof(priv));
priv.sock = sd;
+ if (ioctl(priv.sock, FIONBIO, &(int){0}) == -1)
+ err(1, "ioctl(FIONBIO)");
if (pipe2(priv.wakeup, O_CLOEXEC | O_NONBLOCK) != 0)
err(1, "pipe2");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 7:09 AM (17 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34273650
Default Alt Text
D54340.diff (402 B)
Attached To
Mode
D54340: bhyve: Use a blocking socket in the helper process
Attached
Detach File
Event Timeline
Log In to Comment