summaryrefslogtreecommitdiff
path: root/lib/is_single_threaded.c
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2014-12-09 01:20:52 +0300
committerChristoph Hellwig <hch@lst.de>2014-12-15 12:31:33 +0300
commit120bb3e1e36da9c1ae6b978c825a28b944a5d7c5 (patch)
tree06eee79a3f6fea5ac824ff645c62f7af81e1450f /lib/is_single_threaded.c
parent67e2c3883828b39548cee2091b36656787775d95 (diff)
downloadlinux-120bb3e1e36da9c1ae6b978c825a28b944a5d7c5.tar.xz
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: <stable@vger.kernel.org> # 3.17.x, 3.18.x Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions