[Bug 219846] [panic] [kevent] mutex nm_kn_lock not owned, netmap with INVARIANTS+WITNESS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 15 07:28:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219846
--- Comment #8 from Harald Schmalzbauer <bugzilla.freebsd at 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.
More information about the freebsd-bugs
mailing list