Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153810553
D25788.id74844.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
811 B
Referenced Files
None
Subscribers
None
D25788.id74844.diff
View Options
Index: sys/netgraph/ng_tty.c
===================================================================
--- sys/netgraph/ng_tty.c
+++ sys/netgraph/ng_tty.c
@@ -439,10 +439,10 @@
* Odd, we have changed from non-bypass to bypass. It is
* unlikely but not impossible, flush the data first.
*/
- NG_SEND_DATA_ONLY(error, sc->hook, sc->m);
+ NG_SEND_DATA_FLAGS(error, sc->hook, sc->m, NG_QUEUE);
sc->m = NULL;
}
- NG_SEND_DATA_ONLY(error, sc->hook, m);
+ NG_SEND_DATA_FLAGS(error, sc->hook, m, NG_QUEUE);
return (total);
}
@@ -495,7 +495,7 @@
/* Ship off mbuf if it's time */
if (sc->hotchar == -1 || c == sc->hotchar || m->m_len >= MHLEN) {
sc->m = NULL;
- NG_SEND_DATA_ONLY(error, sc->hook, m); /* Will queue */
+ NG_SEND_DATA_FLAGS(error, sc->hook, m, NG_QUEUE);
}
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 10:45 PM (7 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32095434
Default Alt Text
D25788.id74844.diff (811 B)
Attached To
Mode
D25788: ng_iface(4): Set the current VNET before calling netisr_dispatch().
Attached
Detach File
Event Timeline
Log In to Comment