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)
Jan 11 2024, 10:59 PM
Unknown Object (File)
Dec 20 2023, 3:09 AM
Unknown Object (File)
Aug 1 2023, 5:31 PM
Unknown Object (File)
May 30 2023, 1:29 PM
Unknown Object (File)
Apr 7 2023, 4:31 PM
Unknown Object (File)
Mar 21 2023, 12:02 PM
Unknown Object (File)
Mar 12 2023, 10:30 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.