Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH] nvme: hwmon: fix crash on device teardown | Date | Thu, 10 Dec 2020 04:35:14 +0000 |
| |
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@suse.de> (Without looking into the code)
Do you have blktests testcases for NVMeOFhot-removed and disconnected device scenario to produce the problem ?
| |