Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144567875
D52702.1775494624.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
319 B
Referenced Files
None
Subscribers
None
D52702.1775494624.diff
View Options
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -485,9 +485,7 @@
}
/* Add char to mbuf */
- *mtod(m, u_char *) = c;
- m->m_data++;
- m->m_len++;
+ *(u_char *)mtodo(m, m->m_len++) = c;
m->m_pkthdr.len++;
/* Ship off mbuf if it's time */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 4:57 PM (28 m, 30 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28274295
Default Alt Text
D52702.1775494624.diff (319 B)
Attached To
Mode
D52702: ng_tty: don't increment m_data
Attached
Detach File
Event Timeline
Log In to Comment