Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2016 19:22:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 206053] kqueue support code of netmap causes panic
Message-ID:  <bug-206053-2472-3V5Qk2wgmw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206053-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206053-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #2 from Konstantin Belousov <kib@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206053-2472-3V5Qk2wgmw>