Date: Tue, 15 Jan 2019 07:28:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 219846] [panic] [kevent] mutex nm_kn_lock not owned, netmap with INVARIANTS+WITNESS Message-ID: <bug-219846-227-0eMT3Ben4y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219846-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219846 --- Comment #8 from Harald Schmalzbauer <bugzilla.freebsd@omnilan.de> --- Just a quick note that I'm unfortunately busy with completely different things :-( And for the records, here's Vincenzo's approach which I usesd (successfully as far as I remember) back in 11.2: +++ src/sys/dev/netmap/netmap_freebsd.c 2017-06-17 11:22:53.685116000 +0200 @@ -1374,7 +1374,7 @@ kn->kn_fop = (ev == EVFILT_WRITE) ? &netmap_wfiltops : &netmap_rfiltops; kn->kn_hook = priv; - knlist_add(&si->si.si_note, kn, 1); + knlist_add(&si->si.si_note, kn, 0); // XXX unlock(priv) ND("register %p %s td %p priv %p kn %p np_nifp %p kn_fp/fpop %s", na, na->ifp->if_xname, curthread, priv, kn, No skills to contribute and no time to test at the moment, sorry. Thanks for taking care, will get back to it :-) -harry -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219846-227-0eMT3Ben4y>
