Page MenuHomeFreeBSD

D39628.diff
No OneTemporary

D39628.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
@@ -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

Mime Type
text/plain
Expires
Wed, Sep 25, 4:05 PM (12 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12766841
Default Alt Text
D39628.diff (583 B)

Event Timeline