[Bug 206053] kqueue support code of netmap causes panic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 10 19:22:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206053

--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Sean Bruno from comment #1)
I think replacing 1 with 0 in the
sys/dev/netmap/netmap_freebsd.c:netmap_kqfilter(), the call to knlist_add()
would fix the issue at hand.

But the panic probably means that netmap authors never ever run the code with
INVARIANTS and WITNESS.

Also, there are other comments in the netmap_freebsd.c, esp. about 'not even
munmap() on close()' which are, together with conslusions made, at least
strange.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list