mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Detach the Rhine completely on shutdown, rather than merely stopping it
as the original logic did. This fixes a race with vr_intr() which was masked on UP systems and manifested on SMP systems. PR: kern/62889 MFC after: 1 day
This commit is contained in:
parent
312c75c362
commit
33bab57d1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136693
@ -1692,7 +1692,5 @@ vr_shutdown(device_t dev)
|
||||
{
|
||||
struct vr_softc *sc = device_get_softc(dev);
|
||||
|
||||
VR_LOCK(sc);
|
||||
vr_stop(sc);
|
||||
VR_UNLOCK(sc);
|
||||
vr_detach(sc);
|
||||
}
|
||||
|
@ -1692,7 +1692,5 @@ vr_shutdown(device_t dev)
|
||||
{
|
||||
struct vr_softc *sc = device_get_softc(dev);
|
||||
|
||||
VR_LOCK(sc);
|
||||
vr_stop(sc);
|
||||
VR_UNLOCK(sc);
|
||||
vr_detach(sc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user