From: Tony Battersby Date: Mon, 8 Dec 2014 22:20:52 +0000 (-0500) Subject: scsi: fix random memory corruption with scsi-mq + T10 PI X-Git-Tag: omap-for-v3.19/fixes-rc1~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=120bb3e1e36da9c1ae6b978c825a28b944a5d7c5;p=pandora-kernel.git scsi: fix random memory corruption with scsi-mq + T10 PI This fixes random memory corruption triggered when all three of the following are true: * scsi-mq enabled * T10 Protection Information (DIF) enabled * SCSI host with sg_tablesize > SCSI_MAX_SG_SEGMENTS (128) The symptoms of this bug are unpredictable memory corruption, BUG()s, oopses, lockups, etc., any of which may appear to be completely unrelated to the root cause. Cc: # 3.17.x, 3.18.x Signed-off-by: Tony Battersby Reviewed-by: Nicholas Bellinger Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed