cvs commit: src/sys/dev/twe twe.c twe_freebsd.c
Scott Long
scottl at FreeBSD.org
Tue Feb 8 03:43:03 GMT 2005
scottl 2005-02-08 03:43:02 UTC
FreeBSD src repository
Modified files:
sys/dev/twe twe.c twe_freebsd.c
Log:
Fix crashdumps on twe. The twe_immediate_request() path was not only
copying data to a temporary buffer before the I/O, but also copying that
temporary buffer back to the original data location after the I/O. When
you're dumping kernel heap and stack and protected pages, this is very
very bad.
A belated thanks to Robert Watson for donating hardware for this (and future)
work.
MFC after: 3 days
Revision Changes Path
1.24 +24 -9 src/sys/dev/twe/twe.c
1.40 +1 -3 src/sys/dev/twe/twe_freebsd.c
More information about the cvs-src
mailing list