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)
Tue, May 19, 5:29 AM
Unknown Object (File)
Thu, May 14, 2:59 PM
Unknown Object (File)
Thu, Apr 30, 2:55 AM
Unknown Object (File)
Tue, Apr 28, 1:16 AM
Unknown Object (File)
Thu, Apr 23, 11:39 PM
Unknown Object (File)
Apr 17 2026, 2:20 PM
Unknown Object (File)
Apr 14 2026, 10:42 PM
Unknown Object (File)
Apr 14 2026, 8:35 AM
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.