[Bug 200317] Null pointer dereference error in linux/drivers/scsi/scsi_transport_fc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=200317

--- Comment #2 from Yuexing Wang (wangyxlandq@xxxxxxxxx) ---
(In reply to Matt Wang from comment #1)
> I think this is by-design. If a target can not find its parents, it
> indicates there is problem during enumeration. Panic is proper in this
> situation.

There are other places in the code (fc_target_setup in the same file, for
example) where the return value from starget_to_rport is checked to avoid NPD
error.Since most usages for the macro check its return value, we think it is
necessary to do the same in function fc_eh_timed_out.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux