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
@ -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…
x
Reference in New Issue
Block a user