Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156526577
D11476.id31250.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
908 B
Referenced Files
None
Subscribers
None
D11476.id31250.diff
View Options
Index: sys/net/iflib.c
===================================================================
--- sys/net/iflib.c
+++ sys/net/iflib.c
@@ -2975,6 +2975,8 @@
#endif
ifsd_m[next] = m;
while (buflen > 0) {
+ if (i >= max_segs)
+ goto err;
max_sgsize = MIN(buflen, maxsegsz);
curaddr = pmap_kextract(vaddr);
sgsize = PAGE_SIZE - (curaddr & PAGE_MASK);
@@ -2984,8 +2986,6 @@
vaddr += sgsize;
buflen -= sgsize;
i++;
- if (i >= max_segs)
- goto err;
}
count++;
tmp = m;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 10:31 AM (13 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33080692
Default Alt Text
D11476.id31250.diff (908 B)
Attached To
Mode
D11476: iflib - try m_defrag when m_collapse fails
Attached
Detach File
Event Timeline
Log In to Comment