The driver calls nvme_ns_destruct for each possible namespace, not only
those which exist. The device alias code did not account for this and
will segfault.
Fix is to move destroying the alias device inside the cdev check.
Differential D45549
nvme: Fix namespace destruct chuck on Jun 10 2024, 4:57 PM. Authored by Tags None Referenced Files
Details
Diff Detail
|