NetBSD-Bugs archive

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

re: port-evbarm/54308 - critical high priority sw-bug



hi Mike,

thanks for checking.

>  I verified that the patch was applied to my version of if_axen.c and it
>  was.  There is still a bug:

>  Configuring network interfaces: axen0[  73.2746617] panic: kernel
>  diagnostic assertion "mutex_owned(&sc->axen_mii_lock)" failed: file
>  "/c/usr/src/sys/dev/usb/if_axen.c", line 748

yup.  this one comes because, in netbsd-9 and slightly older
-current, i wrote this accidentally:

                case SIOCSIFCAP:
                        mutex_enter(&sc->axen_lock);
                        axen_setcoe(sc);
                        mutex_exit(&sc->axen_lock);

it should be taking axen_mii_lock.

this is fixed in -current already, and i'll make sure it gets
fixed in -9 too.

thanks!


.mrg.


Home | Main Index | Thread Index | Old Index