It might not be super useful at the moment, but it works.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/dwc/if_dwc.c | ||
---|---|---|
1755 | This is slightly racy ->the interrupt should be teardown first, otherwise it may occurs in the middle |
sys/dev/dwc/if_dwc.c | ||
---|---|---|
1755 | Thanks. Am I right in thinking that the call to ether_ifdetach() adequately protects us from races with dwc_ioctl()? Meaning, it should not be possible for dwc_ioctl(SIOCGIFMEDIA) to occur while we are deleting the miibus child. |