Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169612428
D1471.id3070.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D1471.id3070.diff
View Options
Index: head/sys/sys/mbuf.h
===================================================================
--- head/sys/sys/mbuf.h
+++ head/sys/sys/mbuf.h
@@ -848,14 +848,7 @@
KASSERT(m->m_data == M_START(m), (msg, __func__));
- if (m->m_flags & M_EXT) {
- adjust = m->m_ext.ext_size - len;
- } else if (m->m_flags & M_PKTHDR) {
- adjust = MHLEN - len;
- } else {
- adjust = MLEN - len;
- }
-
+ adjust = M_SIZE(m) - len;
m->m_data += adjust &~ (sizeof(long)-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 1:47 AM (14 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38046824
Default Alt Text
D1471.id3070.diff (466 B)
Attached To
Mode
D1471: Use M_SIZE() in m_align()
Attached
Detach File
Event Timeline
Log In to Comment