Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109361666
D39628.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
D39628.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
@@ -383,8 +383,6 @@
unsigned long seg_size;
unsigned int j;
- s = sg_next(s);
-
len = 0;
for (j = cur + 1; j < count; ++j) {
len += PAGE_SIZE;
@@ -398,6 +396,8 @@
size -= seg_size;
off = 0;
cur = j;
+
+ s = sg_next(s);
}
KASSERT(s != NULL, ("s is NULL after loop in __sg_alloc_table_from_pages()"));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 1:51 AM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16464759
Default Alt Text
D39628.diff (583 B)
Attached To
Mode
D39628: linuxkpi: Fix __sg_alloc_table_from_pages loop
Attached
Detach File
Event Timeline
Log In to Comment