Matthew Dillon <[EMAIL PROTECTED]> wrote:
> That will fix it. I went through all the callers of that function
> and the serializer should already be held.
>
> I'm committing the patch set along with the above bugfix now.
With the now commited version the panic in ioctl() is gone, but I get a
similar one in ether_input().
Regards,
Johannes
(kgdb) bt
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:527
#1 0xc027acc8 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:360
#2 0xc027b17a in panic (
fmt=0xc04b0d68 "assertion: (ifp->if_serializer)->last_td == curthread in
%s") at /usr/src/sys/kern/kern_shutdown.c:673
#3 0xc02e0820 in ether_input (ifp=0xdec4e0b8, eh=0x0, m=0xdeb12600)
at /usr/src/sys/net/if_ethersubr.c:568
#4 0xc02e07e0 in ether_input_internal (ifp=0x0, m=0x0)
at /usr/src/sys/net/if_ethersubr.c:539
#5 0xc02f6d1b in ieee80211_input (ifp=0xdec4e0b8, m=0xdeb12600,
ni=0xc17ea0e8, rssi=47, rstamp=0)
at /usr/src/sys/netproto/802_11/ieee80211_input.c:302