diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2007-03-03 01:55:55 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-11 17:39:39 +0100 |
commit | e8f8248cbadcd8cb1b737fc57a01bccca4fb7aec (patch) | |
tree | c419893a73f1c4392e9d1acbff3bf7dfc56c5df0 /drivers/message | |
parent | [SCSI] tgt: fix sesnse buffer problems (diff) | |
download | linux-e8f8248cbadcd8cb1b737fc57a01bccca4fb7aec.tar.xz linux-e8f8248cbadcd8cb1b737fc57a01bccca4fb7aec.zip |
[SCSI] tgt: fix scsi command leak
The failure to map user-space pages leads to scsi command leak. It can
happens mostly because of user-space daemon bugs (or OOM). This patch
makes tgt just notify a LLD of the failure with sense when
blk_rq_map_user() fails.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions