]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bfa: Fix for crash when bfa_itnim is NULL
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Wed, 6 Jul 2016 10:51:29 +0000 (06:51 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Jul 2016 07:48:32 +0000 (00:48 -0700)
commiteb8bef99da3c75c97d3758b67e0b3faeb10f3bb5
tree7603a4fd58f9ef50b374b6f7bbc008801f48cf90
parent0e242af36f4f4787145b0b323f8fea34f3e9cc6d
bfa: Fix for crash when bfa_itnim is NULL

Orabug: 23950878

Fix a very corner case when the port gets disconnected and the BFA and
FCS layers clean up references to the IT nexus.  During this window if a
task management command is issued by the SCSI-ML and ends up referencing
a NULL itnim, it could lead to a crash.

Signed-off-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Tested-by: Sudarasana Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/scsi/bfa/bfad_im.c