Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2024 09:24:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 252165] usb network and mii bus media status race condition
Message-ID:  <bug-252165-7501-7BPLHxNnMu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252165-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252165-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252165-7501-7BPLHxNnMu>