Keith Busch
48f78be332
nvme: remove ns sibling before clearing path
...
The code had been clearing a namespace being deleted as the current
path while that namespace was still in the path siblings list. It is
possible a new IO could set that namespace back to the current path
since it appeared to be an eligable path to select, which may result in
a use-after-free error.
This patch ensures a namespace being removed is not eligable to be reset
as a current path prior to clearing it as the current path.
Signed-off-by: Keith Busch <keith.busch@intel.com >
Reviewed-by: Sagi Grimberg <sagi@grimberg.me >
Signed-off-by: Christoph Hellwig <hch@lst.de >
2018-10-08 11:53:42 +02:00
..
2018-08-24 09:29:44 -07:00
2018-09-20 08:30:55 -06:00
2018-08-18 11:04:51 -07:00
2018-08-18 11:44:53 -07:00
2018-09-28 09:40:39 -06:00
2018-08-13 15:59:39 +02:00
2018-08-23 13:52:46 -07:00
2018-08-29 08:09:20 -06:00
2018-08-20 16:30:27 -07:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:56:38 -07:00
2018-08-23 13:52:46 -07:00
2018-08-22 07:42:36 -07:00
2018-08-23 19:20:12 -07:00
2018-08-17 16:20:27 -07:00
2018-08-18 11:04:51 -07:00
2018-08-18 15:55:59 -07:00
2018-08-17 15:13:34 +02:00
2018-08-17 16:20:27 -07:00
2018-08-23 15:44:58 -07:00
2018-08-20 15:38:44 -07:00
2018-08-24 09:22:54 -07:00
2018-08-20 15:59:01 -07:00
2018-08-23 13:52:46 -07:00
2018-08-23 18:48:43 -07:00
2018-08-24 17:26:43 +02:00
2018-08-22 07:40:33 -07:00
2018-08-23 18:48:43 -07:00
2018-08-23 15:34:48 -07:00
2018-08-23 13:44:43 -07:00
2018-08-24 13:10:38 -07:00
2018-08-22 14:04:41 -07:00
2018-08-16 12:26:24 -07:00
2018-08-24 14:42:42 +02:00
2018-08-15 09:53:07 +05:30
2018-09-27 09:47:01 -06:00
2018-08-21 17:40:46 -07:00
2018-08-23 13:52:46 -07:00
2018-08-21 17:40:46 -07:00
2018-08-22 12:34:08 -07:00
2018-08-23 15:58:04 -07:00
2018-08-23 13:44:43 -07:00
2018-10-08 11:53:42 +02:00
2018-08-15 15:04:25 -07:00
2018-08-18 11:04:51 -07:00
2018-08-22 12:34:08 -07:00
2018-08-18 12:30:42 -07:00
2018-08-18 11:04:51 -07:00
2018-08-20 15:38:44 -07:00
2018-08-22 14:14:15 -07:00
2018-08-23 18:48:43 -07:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-22 10:52:51 -07:00
2018-08-20 15:38:44 -07:00
2018-08-16 17:39:55 -07:00
2018-08-23 13:52:46 -07:00
2018-08-20 16:30:27 -07:00
2018-08-24 09:31:34 -07:00
2018-08-18 11:04:51 -07:00
2018-08-23 14:02:22 -07:00
2018-08-18 16:45:27 -07:00
2018-08-23 13:52:46 -07:00
2018-08-15 22:06:26 -07:00
2018-08-23 13:52:46 -07:00
2018-08-24 13:03:51 -07:00
2018-08-24 09:34:23 -07:00
2018-08-19 09:30:44 -07:00
2018-08-23 13:52:46 -07:00
2018-08-17 11:32:50 -07:00
2018-08-24 08:45:19 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-08-21 18:06:27 -07:00
2018-08-22 17:31:34 -07:00
2018-08-23 14:52:23 -07:00
2018-08-18 11:04:51 -07:00