Bug 200317
Summary: | Null pointer dereference error in linux/drivers/scsi/scsi_transport_fc.c | ||
---|---|---|---|
Product: | SCSI Drivers | Reporter: | Yuexing Wang (wangyxlandq) |
Component: | Other | Assignee: | scsi_drivers-other |
Status: | NEW --- | ||
Severity: | normal | CC: | witallwang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.17.3 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Yuexing Wang
2018-06-28 02:53:24 UTC
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. (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. |