diff options
author | Keith Busch <[email protected]> | 2014-01-31 16:53:39 -0700 |
---|---|---|
committer | Matthew Wilcox <[email protected]> | 2014-02-02 13:31:15 -0500 |
commit | 9ac27090f61ea6735a62b0a98c7669c833bcdc09 (patch) | |
tree | 1ac24bb79b089a52e162fa80b44d1a2ca0127051 /net/lapb/lapb_subr.c | |
parent | bdfd70fde389412be60f7e8aaed5732dc26fc8ac (diff) |
NVMe: Namespace use after free on surprise removal
An nvme block device may have open references when the device is
removed. New commands may still be sent on the removed device, so we
need to ref count the opens, return errors for new commands, and not
free the namespace and nvme_dev until all references are closed.
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions