Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/sys/dev/scsipi



Module Name:    src
Committed By:   riz
Date:           Sun Dec  2 23:56:58 UTC 2007

Modified Files:
        src/sys/dev/scsipi [netbsd-3]: st.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1880):
        sys/dev/scsipi/st.c: revision 1.199-1.201 via patch
Properly set b_resid in an error case.
Clamp b_resid to b_bcount in case the info field is larger. Fix a KASSERT
in physio() when a media error occurs on my SDLT320 drive (maybe this drive
is bogus for not setting the highter bits to 0 in the INFO field in this
case).
When checking for invalid b_resid valyes, also check negative ones.
Should fix kern/36690.
Move check for b_resid value to the right place. Should definitively fix
kern/36690.


To generate a diff of this commit:
cvs rdiff -r1.178.2.2 -r1.178.2.3 src/sys/dev/scsipi/st.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index