Re: [PATCH v2] Use ctlr directly in rdac_failover_get()

From: Martin K. Petersen
Date: Tue May 23 2017 - 21:55:52 EST


> rdac_failover_get references struct rdac_controller as
> ctlr->ms_sdev->handler_data->ctlr for no apparent reason. Besides being
> inefficient this also introduces a null-pointer dereference as
> send_mode_select() sets ctlr->ms_sdev to NULL before calling
> rdac_failover_get():

Applied to 4.12/scsi-fixes. Thank you!

Martin K. Petersen Oracle Linux Engineering