nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
JIRA: https://issues.redhat.com/browse/RHEL-1604 Upstream Status: From upstream linux mainline
The nvme_fc_fcp_op structure describing an AEN operation is initialized with a null request structure pointer. An FC LLDD may make a call to nvme_fc_io_getuuid passing a pointer to an nvmefc_fcp_req for an AEN operation.
Add validation of the request structure pointer before dereference.
Signed-off-by: Ewan D. Milne emilne@redhat.com