Hello,

I've found an other failed spl release lock.
The diff should fix it. I compiled it and
run the new kernel without an error.
I'm unable to do more tests on this.

bye,
Jan

Index: if_wi_usb.c
===================================================================
RCS file: /mount/cvsdev/cvs/openbsd/src/sys/dev/usb/if_wi_usb.c,v
retrieving revision 1.54
diff -u -w -p -r1.54 if_wi_usb.c
--- if_wi_usb.c 18 Sep 2011 23:24:12 -0000      1.54
+++ if_wi_usb.c 2 Dec 2011 16:31:35 -0000
@@ -1885,6 +1885,7 @@ wi_usb_tx_lock_try(struct wi_usb_softc *
        DPRINTFN(10,("%s: %s: enter\n", sc->wi_usb_dev.dv_xname, __func__));

        if (sc->wi_lock != 0) {
+               splx(s);
                return 0; /* failed to aquire lock */
        }

Reply via email to