Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172091475
D32922.id98328.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D32922.id98328.diff
View Options
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1301,7 +1301,7 @@
pglen = m_epg_pagelen(m, i, pgoff);
if (off < pglen) {
count = min(pglen - off, len);
- p = (void *)PHYS_TO_DMAP(m->m_epg_pa[i] + pgoff);
+ p = (void *)PHYS_TO_DMAP(m->m_epg_pa[i] + pgoff + off);
rval = f(arg, p, count);
if (rval)
return (rval);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 2:31 AM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39043321
Default Alt Text
D32922.id98328.diff (407 B)
Attached To
Mode
D32922: mbuf: Fix an offset calculation in m_apply_extpg_one()
Attached
Detach File
Event Timeline
Log In to Comment