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, Nov 29, 11:54 PM
Unknown Object (File)
Thu, Nov 20, 10:47 PM
Unknown Object (File)
Thu, Nov 20, 10:47 PM
Unknown Object (File)
Thu, Nov 20, 10:41 PM
Unknown Object (File)
Sun, Nov 16, 9:37 AM
Unknown Object (File)
Nov 10 2025, 11:32 PM
Unknown Object (File)
Oct 29 2025, 4:50 AM
Unknown Object (File)
Oct 28 2025, 9:40 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.