FreeBSD Bugzilla – Attachment 242409 Details for
Bug 271515
emulators/virtualbox-ose-additions: crash on 14.0-CURRENT upon kldload vboxguest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed device_probe_and_attach FIX
device_probe_and_attach.patch (text/plain), 518 bytes, created by
Alex Bylund
on 2023-05-25 19:53:55 UTC
(
hide
)
Description:
Proposed device_probe_and_attach FIX
Filename:
MIME Type:
Creator:
Alex Bylund
Created:
2023-05-25 19:53:55 UTC
Size:
518 bytes
patch
obsolete
>diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c >index b64d99961510..d7ac5ada7f9d 100644 >--- a/sys/kern/subr_bus.c >+++ b/sys/kern/subr_bus.c >@@ -2482,7 +2482,7 @@ device_probe_and_attach(device_t dev) > { > int error; > >- bus_topo_assert(); >+ GIANT_REQUIRED; > > error = device_probe(dev); > if (error == -1) >@@ -2490,9 +2490,7 @@ device_probe_and_attach(device_t dev) > else if (error != 0) > return (error); > >- CURVNET_SET_QUIET(vnet0); > error = device_attach(dev); >- CURVNET_RESTORE(); > 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 271515
: 242409 |
243468