[Bug 252165] usb network and mii bus media status race condition
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252165 --- Comment #44 from Ali Abdallah <[email protected]> --- (In reply to Mikael Urankar from comment #42) I can still reproduce with both patches the state down/up issue. The patch solves tick vs ioctl. But running 2 or ifconfig from different screens lead to the issue (ioctl thread1 vs ioctl thread2), since usbd_do_request_flags releases the lock and so one of the ioctl thread waiting for it gets executed, altering the media_state flag. I will try to dedicate some time for it to see how this can be solved. -- You are receiving this mail because: You are the assignee for the bug.