FreeBSD Bugzilla – Attachment 215657 Details for
Bug 242406
mpd & 3G USB modem: Fatal trap 12: page fault while in kernel mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for stable/12
diff (text/plain), 908 bytes, created by
Mark Johnston
on 2020-06-17 13:42:32 UTC
(
hide
)
Description:
patch for stable/12
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2020-06-17 13:42:32 UTC
Size:
908 bytes
patch
obsolete
>Index: sys/netgraph/ng_tty.c >=================================================================== >--- sys/netgraph/ng_tty.c (revision 362275) >+++ sys/netgraph/ng_tty.c (working copy) >@@ -440,10 +440,10 @@ ngt_rint_bypass(struct tty *tp, const void *buf, s > * unlikely but not impossible, flush the data first. > */ > sc->m->m_data = sc->m->m_pktdat; >- 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); > } >@@ -497,7 +497,7 @@ ngt_rint(struct tty *tp, char c, int flags) > if (sc->hotchar == -1 || c == sc->hotchar || m->m_len >= MHLEN) { > m->m_data = m->m_pktdat; > 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242406
:
209654
|
209655
|
209656
|
209657
|
215365
| 215657