FreeBSD Bugzilla – Attachment 146696 Details for
Bug 193265
Kernel page fault error with VIMAGE kernel r270837
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
add CURVNET_SET() and CURVNET_RESTORE() where necessary.
uipc_socket.c.diff.txt (text/plain), 782 bytes, created by
Hiroo Ono
on 2014-09-02 21:12:16 UTC
(
hide
)
Description:
add CURVNET_SET() and CURVNET_RESTORE() where necessary.
Filename:
MIME Type:
Creator:
Hiroo Ono
Created:
2014-09-02 21:12:16 UTC
Size:
782 bytes
patch
obsolete
>Index: uipc_socket.c >=================================================================== >--- uipc_socket.c (revision 270837) >+++ uipc_socket.c (working copy) >@@ -3265,9 +3265,11 @@ > return 1; > } > >+ CURVNET_SET(so->so_vnet); > if (V_socket_hhh[HHOOK_FILT_SOREAD]->hhh_nhooks > 0) > /* This hook returning non-zero indicates an event, not error */ > return (hhook_run_socket(so, NULL, HHOOK_FILT_SOREAD)); >+ CURVNET_RESTORE(); > > return (0); > } >@@ -3294,8 +3296,10 @@ > SOCKBUF_LOCK_ASSERT(&so->so_snd); > kn->kn_data = sbspace(&so->so_snd); > >+ CURVNET_SET(so->so_vnet); > if (V_socket_hhh[HHOOK_FILT_SOWRITE]->hhh_nhooks > 0) > hhook_run_socket(so, kn, HHOOK_FILT_SOWRITE); >+ CURVNET_RESTORE(); > > if (so->so_snd.sb_state & SBS_CANTSENDMORE) { > kn->kn_flags |= EV_EOF;
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 Raw
Actions:
View
Attachments on
bug 193265
: 146696 |
146837