diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-08-26 03:00:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-26 10:03:14 -0500 |
commit | 0db99e3359234be181590463184b9959059a9ea9 (patch) | |
tree | 3822a0e4c6408cd0f0d23211f7f969dae873b483 /drivers/video/virgefb.c | |
parent | 15a3758dc9e1c9d862e46acdf607de70c302fa6a (diff) |
[SCSI] fix scsi_send_eh_cmnd regression
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>
Diffstat (limited to 'drivers/video/virgefb.c')
0 files changed, 0 insertions, 0 deletions