diff options
author | Christoph Hellwig <[email protected]> | 2016-08-18 11:16:35 -0700 |
---|---|---|
committer | Sagi Grimberg <[email protected]> | 2016-08-19 14:22:12 +0300 |
commit | 98096d8a787f05b1afe3869aa01e84981915c81d (patch) | |
tree | b4b303fd633b44036c38c7448a2fee46cdb46c80 /lib/mpi/mpi-bit.c | |
parent | 7a665d2f60b457c0d77b3e4f01e21c55ffc57069 (diff) |
nvme-fabrics: get a reference when reusing a nvme_host structure
Without this we'll get a use after free after connecting two controller
using the same hostnqn and then disconnecting one of them.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jay Freyensee <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions