FreeBSD Bugzilla – Attachment 234867 Details for
Bug 263995
ssh: ssh-sk-helper hangs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to try.
a.diff (text/plain), 766 bytes, created by
Hans Petter Selasky
on 2022-06-22 16:08:13 UTC
(
hide
)
Description:
Patch to try.
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2022-06-22 16:08:13 UTC
Size:
766 bytes
patch
obsolete
>diff --git a/sys/dev/usb/input/usbhid.c b/sys/dev/usb/input/usbhid.c >index fe53f11b8f40..cf34c25b39ad 100644 >--- a/sys/dev/usb/input/usbhid.c >+++ b/sys/dev/usb/input/usbhid.c >@@ -518,8 +518,11 @@ usbhid_sync_xfer(struct usbhid_softc* sc, int xfer_idx, > /* Perform usbhid_write() asyncronously to improve pipelining */ > if (USB_IN_POLLING_MODE_FUNC() || xfer_ctx->error != 0 || > sc->sc_config[xfer_idx].type != UE_INTERRUPT || >- sc->sc_config[xfer_idx].direction != UE_DIR_OUT) >- usbd_transfer_stop(sc->sc_xfer[xfer_idx]); >+ sc->sc_config[xfer_idx].direction != UE_DIR_OUT) { >+ mtx_unlock(&sc->sc_mtx); >+ usbd_transfer_drain(sc->sc_xfer[xfer_idx]); >+ mtx_lock(&sc->sc_mtx); >+ } > error = xfer_ctx->error; > if (error == 0) > *req = xfer_ctx->req;
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 263995
:
233963
|
233964
|
234858
|
234867
|
234882
|
234886
|
234888
|
234891
|
234892
|
234895
|
239011
|
239052