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
File | Mode | Size |
---|---|---|
drivers | ||
include | ||
kernel | ||
os-Linux | ||
scripts | ||
sys-i386 | ||
sys-ia64 | ||
sys-ppc | ||
sys-x86_64 | ||
Kconfig | -rw-r--r-- | 9.2 KB |
Kconfig.char | -rw-r--r-- | 7.6 KB |
Kconfig.debug | -rw-r--r-- | 1.5 KB |
Kconfig.i386 | -rw-r--r-- | 1.4 KB |
Kconfig.net | -rw-r--r-- | 7.8 KB |
Kconfig.scsi | -rw-r--r-- | 1.2 KB |
Kconfig.x86_64 | -rw-r--r-- | 622 bytes |
Makefile | -rw-r--r-- | 7.2 KB |
Makefile-i386 | -rw-r--r-- | 1.1 KB |
Makefile-ia64 | -rw-r--r-- | 32 bytes |
Makefile-os-Linux | -rw-r--r-- | 198 bytes |
Makefile-ppc | -rw-r--r-- | 203 bytes |
Makefile-skas | -rw-r--r-- | 290 bytes |
Makefile-tt | -rw-r--r-- | 81 bytes |
Makefile-x86_64 | -rw-r--r-- | 563 bytes |
config.release | -rw-r--r-- | 6.8 KB |
defconfig | -rw-r--r-- | 11.1 KB |
Computing file changes ...