Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160729044
D30958.id91562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
930 B
Referenced Files
None
Subscribers
None
D30958.id91562.diff
View Options
Index: sys/kern/kern_mbuf.c
===================================================================
--- sys/kern/kern_mbuf.c
+++ sys/kern/kern_mbuf.c
@@ -658,7 +658,8 @@
flags = (unsigned long)arg;
KASSERT((m->m_flags & M_NOFREE) == 0, ("%s: M_NOFREE set", __func__));
- if (!(flags & MB_DTOR_SKIP) && (m->m_flags & M_PKTHDR) && !SLIST_EMPTY(&m->m_pkthdr.tags))
+ KASSERT(flags & 0x1, ("%s: obsolete MB_DTOR_SKIP passed", __func__));
+ if ((m->m_flags & M_PKTHDR) && !SLIST_EMPTY(&m->m_pkthdr.tags))
m_tag_delete_chain(m, NULL);
}
Index: sys/sys/mbuf.h
===================================================================
--- sys/sys/mbuf.h
+++ sys/sys/mbuf.h
@@ -478,8 +478,6 @@
#define M_PROTO10 0x00400000 /* protocol-specific */
#define M_PROTO11 0x00800000 /* protocol-specific */
-#define MB_DTOR_SKIP 0x1 /* don't pollute the cache by touching a freed mbuf */
-
/*
* Flags to purge when crossing layers.
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 28, 6:44 AM (15 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34425913
Default Alt Text
D30958.id91562.diff (930 B)
Attached To
Mode
D30958: iflib: retire MB_DTOR_SKIP
Attached
Detach File
Event Timeline
Log In to Comment