[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq160grxblk.fsf@oracle.com>
Date: Tue, 23 May 2017 21:55:19 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Artem Savkov <asavkov@...hat.com>
Cc: hare@...e.de, axboe@...com, hch@....de, martin.petersen@...cle.com,
Bart Van Assche <Bart.VanAssche@...disk.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] Use ctlr directly in rdac_failover_get()
Artem,
> 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
Powered by blists - more mailing lists