Page MenuHomeFreeBSD

Fix panic when adding netmap device to kqueue.
ClosedPublic

Authored by dab on Jul 31 2018, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 3:03 PM
Unknown Object (File)
Sat, Mar 28, 6:03 AM
Unknown Object (File)
Tue, Mar 17, 3:42 AM
Unknown Object (File)
Tue, Mar 17, 3:36 AM
Unknown Object (File)
Thu, Mar 12, 1:09 PM
Unknown Object (File)
Wed, Mar 11, 7:12 PM
Unknown Object (File)
Mon, Mar 9, 9:38 PM
Unknown Object (File)
Feb 25 2026, 11:07 PM
Subscribers

Details

Summary

On FreeBSD, adding a netmap device to a kqueue can cause a
panic. See FreeBSD PR206053
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206053) for
details.

Note that this change has already been submitted to netmap upstream. I
do not know if the project would rather it come from upstream or
whether a local fix would be preferred in the meantime.

PR: 206053

Test Plan

Run the test program given in netmap PR #520
(https://github.com/luigirizzo/netmap/pull/520).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18460
Build 18165: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 13 2018, 9:19 PM

This change has been merged upstream (netmap PR #520).

This fix was (accidentally) committed in rS337812 and incorporated into the upcoming 12.0-RELEASE; I just noticed that now when I went to MFC that commit to stable/11. Closing the review now, considerably after the fact.