[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR04MB4965A005E5CED1890293ED7A86CB0@BYAPR04MB4965.namprd04.prod.outlook.com>
Date: Thu, 10 Dec 2020 04:35:14 +0000
From: Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>
To: Enzo Matsumiya <ematsumiya@...e.de>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>
CC: Sagi Grimberg <sagi@...mberg.me>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jens Axboe <axboe@...com>, Keith Busch <kbusch@...nel.org>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH] nvme: hwmon: fix crash on device teardown
Enzo,
On 12/9/20 13:39, Enzo Matsumiya wrote:
> Fix a possible NULL pointer dereference when trying to read
> hwmon sysfs entries associated to NVMe-oF devices that were
> hot-removed or disconnected.
>
> Unregister the NVMe hwmon device upon controller teardown
> (nvme_stop_ctrl()).
>
> Signed-off-by: Enzo Matsumiya <ematsumiya@...e.de>
(Without looking into the code)
Do you have blktests testcases for NVMeOFhot-removed and disconnected
device scenario to produce the problem ?
Powered by blists - more mailing lists