diff options
author | James Smart <james.smart@broadcom.com> | 2020-09-17 23:33:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-07 09:02:50 +0300 |
commit | a50ea89d1ae546bcd28a7afb0be45cdb1a1138ba (patch) | |
tree | 88fb88f00528e1a19653337ff254b36ecebf7a57 /scripts/kallsyms.c | |
parent | 7d2120bc38b94381f04c18b4ad49b62ecd83c882 (diff) | |
download | linux-a50ea89d1ae546bcd28a7afb0be45cdb1a1138ba.tar.xz |
nvme-fc: fail new connections to a deleted host or remote port
[ Upstream commit 9e0e8dac985d4bd07d9e62922b9d189d3ca2fccf ]
The lldd may have made calls to delete a remote port or local port and
the delete is in progress when the cli then attempts to create a new
controller. Currently, this proceeds without error although it can't be
very successful.
Fix this by validating that both the host port and remote port are
present when a new controller is to be created.
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions