cvs commit: src/sys/dev/raid/aac aac_cam.c src/sys/dev/raid/amr amr_cam.c src/sys/dev/raid/asr asr.c src/sys/dev/raid/ciss ciss.c src/sys/dev/raid/dpt dpt_scsi.c src/sys/dev/raid/iir iir.c src/sys/dev/raid/mly mly_cam.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Mar 14 19:05:58 PST 2004
dillon 2004/03/14 19:05:11 PST
DragonFly src repository
Modified files:
sys/dev/raid/aac aac_cam.c
sys/dev/raid/amr amr_cam.c
sys/dev/raid/asr asr.c
sys/dev/raid/ciss ciss.c
sys/dev/raid/dpt dpt_scsi.c
sys/dev/raid/iir iir.c
sys/dev/raid/mly mly_cam.c
Log:
The cam_sim structure was being deallocated unconditionally by device
driver detach routines. The problem with this is that part of the CAM
bus structure may still be active (for example, with pending timeout()'s),
and even though the bus, target, and device is freed, since the sim IS
freed any accesses through the sim will hit 0xdeadc0de. This case most often
occurs with USB UMASS devices.
Revision Changes Path
1.4 +3 -3 src/sys/dev/raid/aac/aac_cam.c
1.4 +7 -9 src/sys/dev/raid/amr/amr_cam.c
1.13 +4 -15 src/sys/dev/raid/asr/asr.c
1.6 +2 -2 src/sys/dev/raid/ciss/ciss.c
1.5 +3 -2 src/sys/dev/raid/dpt/dpt_scsi.c
1.6 +3 -2 src/sys/dev/raid/iir/iir.c
1.4 +5 -7 src/sys/dev/raid/mly/mly_cam.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/aac/aac_cam.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/amr/amr_cam.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/asr/asr.c.diff?r1=1.12&r2=1.13&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/ciss/ciss.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/dpt/dpt_scsi.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/iir/iir.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/mly/mly_cam.c.diff?r1=1.3&r2=1.4&f=h
More information about the Commits
mailing list