Current-Users archive

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

Re: KASSERT "KERNEL_LOCKED_P()" failed (if_ethersubr.c:214) when stopping rpcbind

Nicolas Joly <> writes:

> Just got hit, on my up-to-date NetBSD/amd64 -current machine, by a
> KASSERT when stopping rpcbind(8). Such as :

> #5  0xffffffff805bad19 in mld_sendpkt 
> (type=type@entry=132,dst=dst@entry=0xfffffe811002fc50,in6m=<optimized 
> out>,in6m=<optimized out>)
>     at /local/src/NetBSD/src/sys/netinet6/mld6.c:559
> #6  0xffffffff805bb803 in mld_stop_listening (in6m=0xfffffe8211f91348) at 
> /local/src/NetBSD/src/sys/netinet6/mld6.c:321
> #7  in6_delmulti (in6m=0xfffffe8211f91348) at 
> /local/src/NetBSD/src/sys/netinet6/mld6.c:715

I remember someone here trying to add a locking assert and running into
trouble with MLD.  I think fixing it is non-trivial (but not super hard)
because there are two paths into the MLD code, and one is called with
the kernel lock and the other not.

Attachment: pgprI8nPBz4Lr.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index