Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150443019
D30676.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
548 B
Referenced Files
None
Subscribers
None
D30676.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/scatterlist.h b/sys/compat/linuxkpi/common/include/linux/scatterlist.h
--- a/sys/compat/linuxkpi/common/include/linux/scatterlist.h
+++ b/sys/compat/linuxkpi/common/include/linux/scatterlist.h
@@ -520,12 +520,13 @@
memcpy(p, b, len);
sf_buf_free(sf);
+ /* We copied so nothing more to skip. */
+ skip = 0;
copied += len;
/* Either we exactly filled the page, or we are done. */
buflen -= len;
if (buflen == 0)
break;
- skip -= len;
b += len;
}
sched_unpin();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 6:17 AM (5 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30711198
Default Alt Text
D30676.diff (548 B)
Attached To
Mode
D30676: LinuxKPI: fix sg_pcopy_from_buffer()
Attached
Detach File
Event Timeline
Log In to Comment