Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Nov 2022 08:14:35 +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-PeilDziIhA@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=3D252165

--- Comment #30 from Ali Abdallah <ali.abdallah@suse.com> ---
(In reply to Hans Petter Selasky from comment #26)
> Maybe all MII bus code should be executed for the same thread?

Not sure what do you mean.

The issue is that the ioctl for media status (which invokes the mii bus) ra=
ces
with a currently running tick (ure_tick for example).

So the MII bus code runs in a single thread always, but one invoked by ioctl
and another one by the tick callback race between each other sometimes (and=
 it
is not clear why, as both code paths use the same lock...)

--=20
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-PeilDziIhA>