Summary: | page fault while re-enabling network nic via devctl | ||
---|---|---|---|
Product: | Base System | Reporter: | Zhenlei Huang <zlei> |
Component: | kern | Assignee: | Zhenlei Huang <zlei> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Some People | CC: | dpetrov67, jhb, khng, markj |
Priority: | --- | ||
Version: | 14.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D42678 |
Description
Zhenlei Huang
2023-11-27 17:14:39 UTC
Other ethernet interface drivers are also affected, tested with re(4) and cxgbe(4). Proposed fix: https://reviews.freebsd.org/D42678 ^Triage: clear stale flags. ^Triage: clear unneeded flags. Nothing has yet been committed to be merged. This is the same bug as PR 282168, more or less. I posted a patch for it. https://reviews.freebsd.org/D42678 isn't sufficient for that particular crash, since the device_attach() call comes from a bus driver, not the devctl ioctl. (In reply to Mark Johnston from comment #4) In D42678 @jhb and @bz hint setting vnet0 in bus is layer violation, and that should be fixed in ifnet layer. But I'm fine with your patch. It just **works** :). There should be no side effects from my perspective. *** This bug has been marked as a duplicate of bug 282168 *** |