Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165351960
D58625.id183320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
424 B
Referenced Files
None
Subscribers
None
D58625.id183320.diff
View Options
diff --git a/usr.sbin/bhyve/iov.c b/usr.sbin/bhyve/iov.c
--- a/usr.sbin/bhyve/iov.c
+++ b/usr.sbin/bhyve/iov.c
@@ -71,8 +71,8 @@
}
/* The entry iov[count] needs to be split. */
- *niov1 = count + 1;
*niov2 = *niov1 - count;
+ *niov1 = count + 1;
memmove(&iov[count + 1], &iov[count], sizeof(struct iovec) * (*niov2));
iov[count].iov_len = resid;
iov[count + 1].iov_base = (char *)iov[count].iov_base + resid;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 8, 7:14 PM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35967109
Default Alt Text
D58625.id183320.diff (424 B)
Attached To
Mode
D58625: bhyve: Fix assignment of *niov2 in split_iov()
Attached
Detach File
Event Timeline
Log In to Comment