Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel panic in NetBSD-9.1-amd64-install.img (exiting unheld spin mutex)



reed%reedmedia.net@localhost ("Jeremy C. Reed") writes:

>panic: lock error: Mutex error: mutex_vector_exit,742: exiting unheld 
>spin mutex: lock 0xffff8699588015c0 cpu 0 lwp 0xff... (my photo was 
>cropped)

Index: athn.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/athn.c,v
retrieving revision 1.23
diff -p -u -r1.23 athn.c
--- athn.c      29 Jan 2020 14:09:58 -0000      1.23
+++ athn.c      15 Nov 2020 07:04:38 -0000
@@ -2734,7 +2734,7 @@ athn_set_multi(struct athn_softc *sc)
 
        if ((ifp->if_flags & (IFF_ALLMULTI | IFF_PROMISC)) != 0) {
                lo = hi = 0xffffffff;
-               goto done;
+               goto done2;
        }
        lo = hi = 0;
        ETHER_LOCK(ec);
@@ -2760,6 +2760,7 @@ athn_set_multi(struct athn_softc *sc)
        }
  done:
        ETHER_UNLOCK(ec);
+ done2:
        AR_WRITE(sc, AR_MCAST_FIL0, lo);
        AR_WRITE(sc, AR_MCAST_FIL1, hi);
        AR_WRITE_BARRIER(sc);

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index