summaryrefslogtreecommitdiff
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-09-15 23:07:45 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2015-09-24 23:17:23 -0700
commitf3bb467ff64b2598d023b3a07592748fa7768b6a (patch)
tree2c961b5c54a31d3bfc267f7308b2c32c26fd786e /drivers/target/tcm_fc
parenteeeb9522231118138be418ff527dc8c9050f4707 (diff)
target: Fix target_sense_desc_format NULL pointer dereference
This patch allows target_sense_desc_format() to be called without a valid se_device pointer, which can occur during an early exception ahead of transport_lookup_cmd_lun() setting up se_cmd->se_device. This addresses a v4.3-rc1 specific NULL pointer dereference regression introduced by commit 4e4937e8. Cc: Sagi Grimberg <sagig@mellanox.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
0 files changed, 0 insertions, 0 deletions