1
0
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:
Bruce M Simpson 2004-10-19 15:30:47 +00:00
parent 312c75c362
commit 33bab57d1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136693
2 changed files with 2 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);
}