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 Mon, Jun 10, 4:57 PM. Authored by
Details
Diff Detail
|