mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07:00
![]() The unpacked_lun field in the SCSI target tracepoints should be initialized with cmd->orig_fe_lun rather than cmd->se_lun->unpacked_lun for two reasons: - most importantly, if we are in the cmd_complete tracepoint returning a check condition due to no LUN found, cmd->se_lun will be NULL and we'll crash trying to dereference it. - also, in any case, cmd->se_lun->unpacked_lun is an internal index into the target's internal set of LUNs; cmd->orig_fe_lun is much more useful and interesting, since it's the value the initiator actually sent. Signed-off-by: Roland Dreier <roland@purestorage.com> Cc: <stable@vger.kernel.org> # 3.11+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> |
||
---|---|---|
.. | ||
9p.h | ||
asoc.h | ||
bcache.h | ||
block.h | ||
btrfs.h | ||
compaction.h | ||
context_tracking.h | ||
ext3.h | ||
ext4.h | ||
f2fs.h | ||
filemap.h | ||
gfpflags.h | ||
gpio.h | ||
host1x.h | ||
irq.h | ||
jbd2.h | ||
jbd.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
mce.h | ||
migrate.h | ||
module.h | ||
napi.h | ||
net.h | ||
nmi.h | ||
oom.h | ||
pagemap.h | ||
power.h | ||
printk.h | ||
random.h | ||
ras.h | ||
rcu.h | ||
regmap.h | ||
regulator.h | ||
rpm.h | ||
sched.h | ||
scsi.h | ||
signal.h | ||
skb.h | ||
sock.h | ||
sunrpc.h | ||
syscalls.h | ||
target.h | ||
task.h | ||
timer.h | ||
udp.h | ||
vmscan.h | ||
workqueue.h | ||
writeback.h | ||
xen.h |