]> git.karo-electronics.de Git - linux-beck.git/commit
scsi: Avoid crashing if device uses DIX but adapter does not support it
authorEwan D. Milne <emilne@redhat.com>
Thu, 15 Jan 2015 15:02:12 +0000 (10:02 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jan 2015 08:04:21 +0000 (09:04 +0100)
commit91724c20613484555ba7e7b3d8549dac1e24f7a8
tree43c97b70855b1932396e98208671d7804a696e67
parent99531e6063283da4468741185fe48b8eb037d919
scsi: Avoid crashing if device uses DIX but adapter does not support it

This can happen if a multipathed device uses DIX and another path is
added via an adapter that does not support it.  Multipath should not
allow this path to be added, but we should not depend upon that to avoid
crashing.

Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_lib.c