Page MenuHomeFreeBSD

D30676.diff
No OneTemporary

D30676.diff

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

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)

Event Timeline