Revision 0db99e3359234be181590463184b9959059a9ea9 authored by Mike Christie on 26 August 2006, 07:00:22 UTC, committed by James Bottomley on 26 August 2006, 15:03:14 UTC
The callers of scsi_send_eh_cmnd are setting the cmnd buffer,
and then scsi_send_eh_cmnd is copying that updated buffer to
the old_cmnd variable. Then after the command runs, we end up
copying that old_cmnd var which has the new cmnd to the scsi
command buffer. When this command gets recent, all types of fun
things happen like getting TUR or START_STOP commands with
data and scatterlists.

This patch made against scsi-rc-fixes, has the callers of
scsi_send_eh_cmnd pass in the command so scsi_send_eh_cmnd
can do the right thing. This should go into 2.6.18 since this
fixes a regression added when we removed some of the scsi_cmnd
fields and replaced them with local variables.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent 15a3758
History
File Mode Size
Kconfig -rw-r--r-- 21.7 KB
Makefile -rw-r--r-- 1.9 KB
nls_ascii.c -rw-r--r-- 5.7 KB
nls_base.c -rw-r--r-- 14.0 KB
nls_cp1250.c -rw-r--r-- 15.0 KB
nls_cp1251.c -rw-r--r-- 12.4 KB
nls_cp1255.c -rw-r--r-- 16.9 KB
nls_cp437.c -rw-r--r-- 17.0 KB
nls_cp737.c -rw-r--r-- 15.1 KB
nls_cp775.c -rw-r--r-- 13.2 KB
nls_cp850.c -rw-r--r-- 13.0 KB
nls_cp852.c -rw-r--r-- 14.4 KB
nls_cp855.c -rw-r--r-- 12.1 KB
nls_cp857.c -rw-r--r-- 12.3 KB
nls_cp860.c -rw-r--r-- 15.8 KB
nls_cp861.c -rw-r--r-- 17.0 KB
nls_cp862.c -rw-r--r-- 19.0 KB
nls_cp863.c -rw-r--r-- 16.7 KB
nls_cp864.c -rw-r--r-- 18.5 KB
nls_cp865.c -rw-r--r-- 17.0 KB
nls_cp866.c -rw-r--r-- 12.3 KB
nls_cp869.c -rw-r--r-- 13.0 KB
nls_cp874.c -rw-r--r-- 10.7 KB
nls_cp932.c -rw-r--r-- 478.8 KB
nls_cp936.c -rw-r--r-- 675.8 KB
nls_cp949.c -rw-r--r-- 853.1 KB
nls_cp950.c -rw-r--r-- 578.8 KB
nls_euc-jp.c -rw-r--r-- 23.8 KB
nls_iso8859-1.c -rw-r--r-- 9.9 KB
nls_iso8859-13.c -rw-r--r-- 11.5 KB
nls_iso8859-14.c -rw-r--r-- 14.5 KB
nls_iso8859-15.c -rw-r--r-- 12.6 KB
nls_iso8859-2.c -rw-r--r-- 12.8 KB
nls_iso8859-3.c -rw-r--r-- 12.8 KB
nls_iso8859-4.c -rw-r--r-- 12.8 KB
nls_iso8859-5.c -rw-r--r-- 10.6 KB
nls_iso8859-6.c -rw-r--r-- 10.2 KB
nls_iso8859-7.c -rw-r--r-- 13.2 KB
nls_iso8859-9.c -rw-r--r-- 10.7 KB
nls_koi8-r.c -rw-r--r-- 13.5 KB
nls_koi8-ru.c -rw-r--r-- 1.7 KB
nls_koi8-u.c -rw-r--r-- 13.8 KB
nls_utf8.c -rw-r--r-- 1.1 KB

back to top