[Bug 252165] usb network and mii bus media status race condition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Nov 2024 09:24:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252165 --- Comment #44 from Ali Abdallah <ali.abdallah@suse.com> --- (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.