Date: Wed, 2 Mar 2005 03:59:28 +0000 (UTC) From: "Matthew N. Dodd" <mdodd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-lowlevel.c Message-ID: <200503020359.j223xSCf026234@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdodd 2005-03-02 03:59:28 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-lowlevel.c
Log:
Handle PIO timeouts in ata_end_transaction() by immediately returning.
Failure to do this will result in following ata_pio_read() calls walking
off the end of the read buffer.
This resolves the "memory modified after free" panics common with Thinkpads
and CD/DVD drives.
Submitted by: Nate Lawson <nate AT root.org>
Revision Changes Path
1.53 +3 -0 src/sys/dev/ata/ata-lowlevel.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503020359.j223xSCf026234>
